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

Multiple WS Requests to core_course_get_contents to obtain information for URL resources

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.1
    • Component/s: URL add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test on a device with remote debugging enabled.

      • Using the web app access to a 3.6 site (like school demo)
      • Enable the Chrome Development tools and filter the XHR requests.
      • Access to the Moodle Features Demo course
      • You will see several core_course_get_contents WS requests. Check there are no duplicate requests with the same exact parameters.
      Show
      Test on a device with remote debugging enabled. Using the web app access to a 3.6 site (like school demo) Enable the Chrome Development tools and filter the XHR requests. Access to the Moodle Features Demo course You will see several core_course_get_contents WS requests. Check there are no duplicate requests with the same exact parameters.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.6.1

      Description

      Steps to reproduce:

      • Using the web app access to a 3.6 site (like school demo)
      • Enable the Chrome Development tools and filter the XHR requests
      • Access to the Moodle Features Demo course
      • You will see several core_course_get_contents WS requests for obtaining mod URL information. All the requests are passing the same parameteres and retrieving the same information

      We should be doing just one request for getting all the URL modules information

        Attachments

          Activity

            People

            Assignee:
            albert.gasset Albert Gasset
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Dani Palou
            Integrator:
            Juan Leyva
            Tester:
            Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              29/Mar/19