Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2188

Performance and data consuption problem when viewing single entries in large databases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.6.1
    • 3.6.0
    • Database add-on
    • Hide

      Test on any device with DevTools and a 3.3 or newer site.

      1. Access the app as a student.
      2. Go to a database activity with some entries.
      3. Open DevTools > Network tab and clear its contents.
      4. Open the context menu and select View Single.
      5. Check in DevTools that the WS function "mod_data_get_entry" is called only once.
      6. Check that you can navigate to next/previous entries.
      7. Go back to the list of entries.
      8. Press the "View" icon of one of the entries.
      9. Check that you can navigate to next/previous entries.

      Note: The "Moodle Jobs" database in moodle.org displays an error in single view because the template has errors. Also, it does not display the "view" icon in the list of entries.

      Show
      Test on any device with DevTools and a 3.3 or newer site. Access the app as a student. Go to a database activity with some entries. Open DevTools > Network tab and clear its contents. Open the context menu and select View Single. Check in DevTools that the WS function "mod_data_get_entry" is called only once. Check that you can navigate to next/previous entries. Go back to the list of entries. Press the "View" icon of one of the entries. Check that you can navigate to next/previous entries. Note: The "Moodle Jobs" database in moodle.org displays an error in single view because the template has errors. Also, it does not display the "view" icon in the list of entries.
    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • Moodle Mobile 3.6.1

      Steps to reproduce:

      • Browse entry by entry the Moodle jobs database in moodle.org
      • In the Chrome inspector, you will see that 59 requests are done for retrieving all the database pages

      In 3G or 4G is very very slow and it downloads like 1MB of data.

            albert.gasset Albert Gasset
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.