Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-34062

Membership: improve load performance

    Details

    • Type: Feature Request
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.4, 12.0, 19.0
    • Fix Version/s: 12.2, 19.0
    • Component/s: Membership
    • Labels:
      None
    • 12 status:
      Resolved
    • 11 status:
      Please Merge
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      The initial load of the Membership page can be quite lengthy, especially if the user has a lot of memberships. There is an obvious performance improvement opportunity:

      • the code is asking for all the Site objects twice; once for display purposes and once for obtaining the size of the list
      • changing the latter to call countSites() rather than getSites() equates to large performance gains

      There is also a bug in the code where the page size would be incorrect if you had used the filter results functionality. The search term needs to be input into the API call to determine the size of the list.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bjones86 Brian Jones
                Reporter:
                bjones86 Brian Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code