Uploaded image for project: 'Magnolia REST Client UI'
  1. Magnolia REST Client UI
  2. MGNLRESTUI-32

restLinkField loops same entries, does not lazy load

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.0.2
    • 1.0.1
    • None

    Description

      Timebox for investigation: 3 SP

      A restLinkField fed by a jsonDataSource does not lazy load fresh items but, instead, loops through the same few items repeatedly. This makes the component unusable as items further down the list are never visible.

      Example light module to reproduce issue: https://git.magnolia-cms.com/users/ukusergroup/repos/mug-4-20200319/browse/lightmodules/mug-uk-headless-examples-light-module?at=refs%2Fheads%2Finvestigation

      Note: In the attached video I highlight the first item to show it re-occurring but this happens without highlighting anything.

      Dev notes:

      • might relate to miscalculation of data set size - is there even a fixed size for the set atm?
      • vaadin data provider needs to know size upfront; some sources to not provide it

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                chris.jennings Chris Jennings
                Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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