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

Grid row not updating reliably after change in underlying datasource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.12
    • 6.2.12
    • None
    • None

    Description

      Steps to reproduce

      1.  Run one of AssetsCoreFunctionalTests#addFolderToRoot, AssetsCoreFunctionalTests#duplicateAsset,
        AssetsCoreFunctionalTests#addSubFolders, AssetsCoreFunctionalTests#renameAsset on Jenkins until the test fails
      2.  Watch the video to see that the status bar does reflect the change in the item but the grid does not update.

      Expected results

      None of above tests should fail.

      Actual results

      These tests fail once in a while (1 out of ten times or so).

      Workaround

      Refresh the page or switch the grid view.

      Development notes

      This seems like a regression from MGNLUI-6736. It looks like those changes can cause ui pushes to get skipped. Simulating this in the debugger and skipping the 2nd ui.push in JcrDataSourceObservation after changing a grid item results in the behaviour observed.

      Since some of the videos show a loading bar and some don't, there seem to be two different but related problems. The stuck loading bar should have been fixed with MGNLUI-6736.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD