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

Timebox: Assess JCR TreeGrid functionality

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 6.1
    • 6.0
    • None
    • None

    Description

      While implementing the initial version of the TreeView (and to some extend - the ListView), we encountered some problems with using Jackrabbit in Vaadin Grids.

      In particular - Grid tends to cache items (i.e. Nodes!) within the guts of its DataCommunicator (glue between the client and server-side, manages DataProvider), which occasionally would result into repo exceptions caused by attempts to interact with stale/gone JCR nodes. This might happen e.g. if a Node has been moved around/deleted by another user or by another app. Even Grid's own operations (like inline editing) could cause issues.

      The current implementation tries to reduce the possibility of such problems, but further assessment/testing needs to be done.

      What exactly could be done:

      • inspect the current state of JCR support (node wrappers, Grid extensions, availability checks etc).
      • thorough manual testing of different concurrent scenarios of JCR workspace modifications and Grid's reaction on them.
      • Repo test case for the JcrHierarchicalDataProvider, possibly with some involvment of Grid as well.
      • come up with potential future integration testing options for this functionality.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                apchelintcev Aleksandr Pchelintcev
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 1d 1h 29m
                      1d 1h 29m