UpgradeTo14 doesn't handle unpublished content

Topics: Troubleshooting
Jul 17, 2012 at 12:13 PM
Edited Jul 17, 2012 at 12:15 PM

Am I right in thinking that the UpgradeTo14 module does not migrate unpublished content items?

I'm seeing unpublished content with no titles and missing imagefield content after a 1.4 upgrade.

I have taken a look at the UpgradeTo14 module and when it uses HqlQuery's from the ContentManager it doesn't specify a version option, so gets published by default. Is this by design or can I just change the UpgradeTo14 module to specify .ForVersion(VersionOptions.Latest)?


Jul 17, 2012 at 4:48 PM

Seems to work ok when I made the above change.  It successfully upgraded all the latest content, regardless of whether it was published.