Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-271

Aborting page properties dialog leaves traces in workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.1
    • 6.2
    • None
    • None

      Steps to reproduce

      • In pages app create a new page, give it a name, click next
      • In the pages properties dialog click commit. (A validation error is shown)
      • In the pages properties dialog click cancel.

      Observed behaviour

      A new page is created however it is missing the mandatory cookie consent wording - compliance type. This can be seen by opening the pages properties dialog for the newly created page.

      Expected behaviour

      When cancelling the pages properties dialog on a new page, no page should be created at all.

      Notes

      The page node is already created when clicking next on the initial add node dialog right before the page properties dialog appears. It is at this point where the "invalid" page is persisted.

      According to rkovarik there was a decision at some point to not keep unsaved changes in memory between request. As a consequence we need to rethink how to do validation across multiple request.

        Acceptance criteria

              rkovarik Roman Kovařík
              mduerig Michael Duerig
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 3h 31m
                    3h 31m