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

Post threshold warnings are shown as errors instead of info

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a new forum
        1. Under "Post threshold for blocking" set "Time period for blocking" to "1 day"
        2. Set Post threshold for blocking to 5
        3. Set Post threshold for warning to 3
      2. Log in as a student in the course
      3. View the forum
        1. Confirm that there is a notice at the top stating the post threshold
        2. Confirm that it is blue (and not red)
      4. Post in the forum three times
      5. Click on the "Add a new discussion topic" link a fourth time
        1. Confirm that there is a notice at the top of the forum stating that you are approaching the post threshold
        2. Confirm that it is blue (and not red)
      6. Click on the "Advanced" link
        1. Confirm that there is a notice at the top stating the post threshold
        2. Confirm that it is blue (and not red)
      Show
      Create a new forum Under "Post threshold for blocking" set "Time period for blocking" to "1 day" Set Post threshold for blocking to 5 Set Post threshold for warning to 3 Log in as a student in the course View the forum Confirm that there is a notice at the top stating the post threshold Confirm that it is blue (and not red) Post in the forum three times Click on the "Add a new discussion topic" link a fourth time Confirm that there is a notice at the top of the forum stating that you are approaching the post threshold Confirm that it is blue (and not red) Click on the "Advanced" link Confirm that there is a notice at the top stating the post threshold Confirm that it is blue (and not red)
    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-70071-master

      Description

      The forum throttling info message is shown as an error rather than as information message (red vs. blue).

      "This forum has a limit to the number of forum postings you can make in a given time period"

      Also for the message waring that you are approaching the threshold.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dobedobedoh Andrew Nicols
              Reporter:
              dobedobedoh Andrew Nicols
              Peer reviewer:
              Mihail Geshoski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

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