Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75555

Course section collapsing sends way too many AJAX requests

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0.3, 4.1
    • 4.0.4
    • Course

    Description

      Moodle currently sends (number of sections + 1) AJAX requests when clicking the collapse / expand all button, and 2 requests when collapsing / expanding a single selection. Also, only the last request contains the correct list of collapsed sections (all other requests have an empty list) and those requests are send simultaneously , so if the last request is not processed as the last on the server, the course will be fully expanded on the next reload.

      Attachments

        1. MDL-75555_master.webm
          1.24 MB
        2. MDL-75555_v400.webm
          1.02 MB
        3. video of request.webm
          351 kB

        Issue Links

          Activity

            People

              justusdieckmann Justus Dieckmann
              justusdieckmann Justus Dieckmann
              Ferran Recio Ferran Recio
              Ilya Tregubov Ilya Tregubov
              Angelia Dela Cruz Angelia Dela Cruz
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Sep/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 50 minutes
                  3h 50m