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

Race condition in message_drawer helper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.11.11, 4.0.5
    • 3.11.10, 4.0.4
    • Messages
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL-75936-master
    • Hide

      Behat will largely test this but to see it in full:

      1. Login as any user
      2. From the user menu, choose "User preferences"
      3. Choose "Message preferences"
        1. Confirm that the preferences menu opens
      Show
      Behat will largely test this but to see it in full: Login as any user From the user menu, choose "User preferences" Choose "Message preferences" Confirm that the preferences menu opens

      On faster machines and connections, when visiting the legacy message preferences page, a race condition sometimes means that the event to capture the message drawer open request is fired before the event is subscribed to.

      This is highlighted by MDL-66107 which makes this behaviour more consistent.

      The master branch of this patch includes a rewrite for the module and events module as an ESM. This is a separate commit and should be viewed separately.

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Stevani Andolo Stevani Andolo
            Jun Pataleta Jun Pataleta
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 16 minutes
                6h 16m

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