Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15128

Error while editing a document in the Experience Manager

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 14.7.8
    • 14.7.9
    • None
    • Flagged
    • Nova
    • Team Nova Sprint 295
    • Medium (3-5)

    Description

      The customer encountered the following error message when editing a document in the Experience Manager: 'Unable to save. This document contains invalid content.'

       

      Steps for reproduction:

      1. Create an archetype project for one of the above versions.
      2. Install the Banners using Essentials.
      3. Add a Compound Field of type Image Link to the document type Banner using the Document Type editor.
      4. Add a component Banner to a page in the Experience Manager and select one of the example documents of document type Banner.
      5. Edit the title of the document in the Experience Manager and save the document.
      6. This gives the following message: 'Unable to save. This document contains invalid content.'

       

      Workaround:

      1. Now switch to the Document Perspective and edit and save the document, this adds the configuration below to the draft and unpublished variant.
      2. Switch back to the Experience Manager, edit the title of the document and save the document.
      3. This works now.

      The assumption for this behaviour is that the Document Perspective is adding missing nodes and properties from the Document Type definition to documents while saving (and publishing) them and the Experience Manager does not do this when editing a document and gives this error message. This leads to discrepancy in CMS end user experience while editing documents in the Document Perspective and the Experience Manager.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rsinha Richa Sinha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: