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

JcrDataProvider#sizeInBackEnd doesn't have to call #fetch

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • None
    • None
    • None

    Description

      Redundant operations

      Some operations doesn't have to be execute when computing the data provider size:

      Making sure this works in tree view

      Fetch would be still called when filtering in tree view. This code should be adjusted as well https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/browse/magnolia-ui-framework/src/main/java/info/magnolia/ui/contentapp/FilterableHierarchicalDataProvider.java#110

      Development notes

      Original fix was reverted due to  ABTEST-539. https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/2288/overview.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            1.
            Implementation Sub-task To Do Unassigned
            2.
            Review Sub-task To Do Unassigned
            3.
            Pre-Integration QA Sub-task To Do Unassigned
            4.
            QA Sub-task To Do Unassigned

            Activity

              People

                Unassigned Unassigned
                rkovarik Roman Kovařík
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD