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

Starring a discussion refreshes the page even before the AJAX request has completed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.7.1
    • Forum
    • MOODLE_37_STABLE
    • 1

      To reproduce:

      1. Go to a forum
      2. Create a discussion
      3. Open your browser's dev tools (this was observed in Chrome) and open the Network tab.
      4. Throttle the connection to "Slow 3G"
      5. Star the discussion
      6. Expected: When the page reloads, you should see the discussion as starred.
      7. Actual: The page reloads, but the discussion is not yet starred. Reloading the page one more time then actually renders the discussion as starred.

      Acceptance criteria:

      • js should wait before reloading the page so we always see the star/unstar correctly

            Unassigned Unassigned
            jpataleta Jun Pataleta
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m

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