Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-1027

DAM search improvement

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.0.16
    • 3.0.15
    • None
    • AuthX 9
    • 1

      Checking MGNLDAM-1016, we detected that AssetListDataProvider.fetchFromBackEnd is called 4 times for each search as we can see in this video -> https://drive.google.com/file/d/1JEEormcz7dtmFn3cDaeDj9ttqu69t1Dl/view?usp=sharing

      There are, in fact, 2 different searches all coming from vaddin. I don't understand why vaadin triggers the same search twice. And each search request produces 2 fetchFromBackEnd, one for obtaining the size of the result and another for the content.

      As an improvement, we could temporary cache the result of fetchFromBackEnd, so there will only really be 1 fetchFromBackEnd request.

        Acceptance criteria

              jalonso Jesus Alonso
              jalonso Jesus Alonso
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 3h
                    3h