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

Aborting page properties dialog leaves traces in workspace

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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