U4-2108 - Unpublishing a node with descendants and publishing it again will cause a YSOD and whipe childs from cache

Created by Mads Krohn 12 Apr 2013, 11:12:46 Updated by Sebastiaan Janssen 04 Dec 2013, 13:50:11

Relates to: U4-3787

When you unpublish a page that has descendants and afterwards want to publish that page again, you get a YSOD "Value cannot be null. Parameter name: attribute". It seems to be related to Examine indexing. Loading the page again and publishing it a second time will cause the page to be published without error. However, now all descendants will tell you that "Oops: this document is published but is not in the cache (internal error)". Not ideal :)

Comments

Sebastiaan Janssen 12 Apr 2013, 11:19:40

I can't reproduce this in a clean install of Umbraco. Would it be possible to zip up the site / database so Shannon can have a look?


Sebastiaan Janssen 12 Apr 2013, 11:21:34

Also, if this is an upgraded site, make sure to run the path fixup tool first: http://our.umbraco.org/projects/developer-tools/path-fixup


Mads Krohn 12 Apr 2013, 11:22:34

It's a 100% clean install of Umbraco, curious as to how we can get so different results :)


Sebastiaan Janssen 12 Apr 2013, 11:29:19

Permissions? IIS setup? Not sure, I'm sure loads more people would've complained if this was a general bug. :) But again: REALLY curious to see your site/database.


Mads Krohn 12 Apr 2013, 12:35:16

Maybe, though, I have no idea why this issue would be isolated to my comp. Did a quick screen cast just to make sure, that we are doing the same thing -> http://screencast.com/t/SVhDAgHBTMzK. The App Pool in the video, called NetworkService, uses the NetworkService as Identity hence the name. NetworkService has full modify access to the site, so im 99.99999% it's not a permission issue. I'm going insane here! :)


Sebastiaan Janssen 12 Apr 2013, 13:56:01

Great, that helped a lot, I don't know exactly what the difference was but now I can reproduce (that was the bad news). Good news: It's already been fixed for 6.0.4 (6.0.4 nightly dlls don't have this issue).


Mads Krohn 12 Apr 2013, 14:05:59

Are you kidding me? That you can reproduce it is GREAT news, means I'm not completely insane :D Anyways, cool, will have to check out the nightly, thx! :)


Chris McKee 12 Apr 2013, 16:15:41

When's .4 being pushed?


Mads Krohn 12 Apr 2013, 19:54:10

http://our.umbraco.org/contribute/releases


Mads Krohn 04 Dec 2013, 12:21:54

I'm still seeing this issue in a 6.1.6 vanilla install. I don't get a YSOD anymore, only the "Oops: this document is published but is not in the cache (internal error)" message.


Sebastiaan Janssen 04 Dec 2013, 13:31:10

@sniffdk Please create a new issue instead of re-opening and making 6.0.4 98% complete.


Mads Krohn 04 Dec 2013, 13:48:24

Whoops, sorry, didn't think that through, new issue created.


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.0.3

Due in version: 6.0.4

Sprint:

Story Points:

Cycle: