Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-271 Aborting page properties dialog leaves traces in workspace
  3. PAGES-291

Committing page properties after aborting it previously creates incorrect hierarchy

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None
    • UI Framework 21, UI Framework 22, TE 1, TE 2

      Steps to reproduce

      1. Open pages app and click Add page action
      2. Fill page name a and select a page template (with a page properties dialog)
      3. Click next to open page properties dialog
      4. Click cancel to close the dialog
      5. Repeat Steps 1-3 (but set page name as b), and then click Commit.

      Expected results

       
      Page b to be created at root level in tree view 

      Actual results

      Page a/b is instead created

      Development notes

      This issue stems from ValueContext still containing the Wrapped Page Node in step 5 to maintain page state across requests. As a result of which the new page created incorrectly uses the page from the aborted create properties dialog as parent.

            Unassigned Unassigned
            rdhar Rishab Dhar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: