Uploaded image for project: 'Magnolia Personalization'
  1. Magnolia Personalization
  2. MGNLPN-141

Page tree is not properly updated when adding or deleting variants

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • 1.0
    • 1.0
    • Integration
    • None
    • Magnolia 5.3 eebundle snapshot from build #3405 (04.06.2014 11:22:33)

      When I add a new variant, I get a notif that it was added, but the page tree doesn't show the added variant. I have close and re-open the parent node (or cause some other state change) in order to see the newly added variant (in the screen shot, I actually added two because I thought it didn't work the first time round).

      Likewise when I delete a variant: I'm asked for confirmation and get the confirmation notif, but I only get to see the deleted variant when I close and re-open the master node.

      This issue has been detected on a 5.3 snapshot release.

      I suspect this may have to do with us backgrounding some tasks. Both the add and the delete action take less than 5 seconds to execute, so they shouldn't be run asynchronously, but at least in case of the delete, I can see the following log entry:

      2014-06-04 15:18:55,040 INFO  info.magnolia.module.scheduler.CommandJob         : Starting job [UI Action triggered execution of [default:markAsDeleted] by user [superuser]. (2)]...
      2014-06-04 15:18:55,458 INFO  info.magnolia.module.scheduler.CommandJob         : Job executed successfully [UI Action triggered execution of [default:markAsDeleted] by user [superuser]. (2)]
      

        Acceptance criteria

          1. 5 Reopen to see deleted.png
            5 Reopen to see deleted.png
            371 kB
          2. 4 Variant deleted.png
            4 Variant deleted.png
            375 kB
          3. 3 Deleting variant.png
            3 Deleting variant.png
            376 kB
          4. 2 Reopen to see added.png
            2 Reopen to see added.png
            371 kB
          5. 1 Variant added.png
            1 Variant added.png
            359 kB

              Unassigned Unassigned
              weder Andreas Weder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD