Copied to clipboard

Flag this post as spam?

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


  • Kris Glare 3 posts 51 karma points
    Aug 18, 2015 @ 05:14
    Kris Glare
    0

    PropertyData for document type temporarily dissapeared from all inherited pages

    A recent bug popped up where after a CMS user published a 3rd level item, the home page began generating 404 errors for all access attempts in the CMS. Users then attempted to 'republish entire site' and caused these errors to occur across the site.

    Investigating further has shown that despite there being no logs in the database between these two publish events, the two root level inherited document types were no longer publishing their property data to the database for any pages (i.e. A standard page went from 35 fields to 20 fields for this document version)

    The inheritance for this site uses General Page > Meta Page > All other pages. When checking the database, the 15 fields (2 for general, 13 for meta) from these two document types didn't exist when the site was republished - the fields were completely missing from the versions created at that time. Future publishes again had these fields back, but had lost all data which was previously stored in them for every page.

    We have setup a duplicate of this broken site, then completed a rollback and this issue is no longer occurring in production - but identifying the root cause has proven extremely difficult.

    I'm wondering if anyone would have insight into the cause of this, or know of a method of adding versioning/audit history to Umbraco document types in the way that they exist for content/documents. Essentially so that if this occurs again in future, data can be captured about what occurred to the document type, not just the content pages.

Please Sign in or register to post replies

Write your reply to:

Draft