U4-2556 - If a content item is published but has newer non-published revisions, changing a doc type alias will not re-populate that content item's xml

Created by Shannon Deminick 29 Jul 2013, 06:41:39 Updated by Sebastiaan Janssen 29 Jul 2013, 07:52:09

Relates to: U4-2527

In the RebuildXmlStructures of the ContentService, we do a check when clearing out the cmsContentXml table and ensure we only clear content of a specific type if one has been passed in. Unfortunately, when we do a lookup of all published content, that lookup is flawed since it only looks up the 'latest' content and then checks if that item is published. If there are newer non-published revisions, then these will not be returned in this lookup and therefore the content's xml will not get put into the cmsContentXml table or the cached XML.

If you have this problem, you can re-create all of the XML by going to /umbraco/dialogs/republish.aspx?xml=true

Comments

Shannon Deminick 29 Jul 2013, 06:43:07

fixed in 55c68485e94bfe663c4a9618e338d186b1ee303d


Sebastiaan Janssen 29 Jul 2013, 07:29:35

Hmmm "Contained in no branch" "Contained in no tag". How did you manage to push a changeset to nowhere? :P


Shannon Deminick 29 Jul 2013, 07:32:25

Dunno! :)

It's here in a separate branch: https://github.com/umbraco/Umbraco-CMS/commit/55c68485e94bfe663c4a9618e338d186b1ee303d


Sebastiaan Janssen 29 Jul 2013, 07:34:33

Ah, why a seperate branch? Still "experimental"? I didn't pull that branch apparently, but the revisions came in.


Sebastiaan Janssen 29 Jul 2013, 07:36:10

Got it, if I don't check out a branch, it doesn't create a local branch.


Shannon Deminick 29 Jul 2013, 07:36:13

It was just cuz we were releasing 6.1.3 at the time so just chucked it into a diff branch.


Shannon Deminick 29 Jul 2013, 07:46:14

Have merged changes into the main branch,.


Sebastiaan Janssen 29 Jul 2013, 07:52:09

Gotcha! Great, thanks!


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 6.1.1, 6.1.2, 6.1.3

Due in version: 6.1.4

Sprint:

Story Points:

Cycle: