Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Sørensen 304 posts 650 karma points
    Mar 26, 2013 @ 22:56
    Paul Sørensen
    0

    Upgrade to 6.0.2 invalidates DocumentTypes

    Hi

    I have just upgraded a site from 4.11.3 to 6.0.2 and now my DocumentTypes are inaccessible. When I click on a Document Type in backoffice I get a nullreference exception

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.controls.ContentTypeControlNew.SetupStructurePane() +847
       umbraco.controls.ContentTypeControlNew.OnInit(EventArgs e) +42
       System.Web.UI.Control.InitRecursive(Control namingContainer) +134
       System.Web.UI.Control.InitRecursive(Control namingContainer) +290
       System.Web.UI.Control.InitRecursive(Control namingContainer) +290
       System.Web.UI.Control.InitRecursive(Control namingContainer) +290
       System.Web.UI.Control.InitRecursive(Control namingContainer) +290
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeSta

    Anyone seen anything like this and know how to fix it ?

    Clearing the preview folder and republishing the entire site makes no difference.

    I see that this query getfrequently executed but returns no rows (also with [published] = 'true')- don't know if it's related.

    SELECT *
    FROM [cmsDocument]
    INNER JOIN [cmsContentVersion]
    ON [cmsDocument].[versionId] = [cmsContentVersion].[VersionId]
    INNER JOIN [cmsContent]
    ON [cmsContentVersion].[ContentId] = [cmsContent].[nodeId]
    INNER JOIN [umbracoNode]
    ON [cmsContent].[nodeId] = [umbracoNode].[id]
    WHERE ([umbracoNode].[nodeObjectType] = 'c66ba18e-eaf3-4cff-8a22-41b16d66a972')
    AND ([cmsDocument].[published] = 'False' AND [cmsDocument].[expireDate] <= '03/26/2013 15:37:06')
    AND ([cmsDocument].[newest]='True')
    ORDER BY [cmsContentVersion].[VersionDate] DESC
    , [umbracoNode].[sortOrder]

     

    /Paul S

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Mar 26, 2013 @ 23:12
    Jan Skovgaard
    0

    Hi Paul

    Did you run the fix_path package in order to fix the examine bug that was introduced in 4.10? I suspect this could perhaps be the issue.

    Hope this helps.

    /Jan

  • Paul Sørensen 304 posts 650 karma points
    Mar 26, 2013 @ 23:47
    Paul Sørensen
    0

    Hi Jan

    Thanks for a quick response - just installed it but it didn't make any difference

    /Paul S

  • Paul Sørensen 304 posts 650 karma points
    Mar 27, 2013 @ 20:54
    Paul Sørensen
    100

    Hi 

    just upgraded to 6.0.3 and this fixed the problem

    /Paul S

Please Sign in or register to post replies

Write your reply to:

Draft