Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2701

Multiple submissions of single publication possible within pages app, producing erroneous change requests

    XMLWordPrintable

Details

    Description

      When executing the Publish action within the pages app, you can (quickly) click on the 'SAVE CHANGES' button more than once before the 'Submit for publication' dialog is submitted.

      This will result in more than one publish request, one of which will fail due to no 'version' being found in the JCR:

      javax.jcr.version.VersionException: Version {}1.100 does not exist.
      at org.apache.jackrabbit.core.version.InternalVersionHistoryImpl.getVersion(InternalVersionHistoryImpl.java:277)
      at org.apache.jackrabbit.core.version.VersionHistoryImpl.getVersion(VersionHistoryImpl.java:138)
      at info.magnolia.cms.core.version.BaseVersionManager.getVersion(BaseVersionManager.java:335)
      at info.magnolia.cms.core.DefaultContent.getVersionedContent(DefaultContent.java:500)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                dean.pullen Dean Pullen
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD