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

Value context should be emptied on a failed operation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1.  Follow repro steps from PAGES-370

      Expected results

      Nothing in value context

      Actual results

      You can trigger actions over the node in value context, which is the non-really-existent page. E.g. add a subpage. This will persist the broken parent page without a page template.

      Development notes

      Instead of Exceptions wrapping we should do some try-catch-finally and get into some consistent state after a failed operation (emptying value context, or reverting to the previous one)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              sdemocko Šimon Demočko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD