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

HippostdPublishableEditor#discard can lead to unexpected deletion of document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.26.01, 2.26.11, 2.26.14, 2.26.15
    • Fix Version/s: CMS-10.0-FCS, 2.28.00
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      Reproduction path:
      Have a document which is 'missing' a property and has only one state (either unpublished or published). Open this document in the CMS (do not edit the document). The missing property will be added by a plugin or by project specific code. Attempt to close this document, a dialog will be shown asking to save or discard the changes.
      Upon clicking discard the document is being deleted.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nout Niels Out
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: