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

Exceeding forum post threshold for blocking does not prevent user from resubmitting form.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.3.7, 2.4.4
    • 2.3.6, 2.4
    • Forum
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-39303_master
    • Hide

      Test 1

      1. Login as a teacher and create a forum with a time period for blocking set.
      2. Set a post threshold for blocking and for warning.
      3. Log in as a student and post until you are on your last message, which will push your post count to the threshold for blocking when posted.
      4. Post this message, then on the screen where it says "Your post was successfully added." click the back button in the browser and fill in the post again and resubmit.
      5. Ensure when you resubmit you are given a warning about exceeding the limit.

      Test 2

      1. Login as a teacher and create a forum with a time period for blocking set.
      2. Set a post threshold for blocking and for warning.
      3. Log in as a student and click on to add a new discussion, but do not submit this form.
      4. Open another tab in your browser and create a discussion and continue replying until you reach the threshold for blocking.
      5. Go back to the other tab and attempt to post a new discussion.
      6. Ensure when you submit you are given a warning about exceeding the limit.
      Show
      Test 1 Login as a teacher and create a forum with a time period for blocking set. Set a post threshold for blocking and for warning. Log in as a student and post until you are on your last message, which will push your post count to the threshold for blocking when posted. Post this message, then on the screen where it says "Your post was successfully added." click the back button in the browser and fill in the post again and resubmit. Ensure when you resubmit you are given a warning about exceeding the limit. Test 2 Login as a teacher and create a forum with a time period for blocking set. Set a post threshold for blocking and for warning. Log in as a student and click on to add a new discussion, but do not submit this form. Open another tab in your browser and create a discussion and continue replying until you reach the threshold for blocking. Go back to the other tab and attempt to post a new discussion. Ensure when you submit you are given a warning about exceeding the limit.

    Description

      It is possible to exceed the total number of allowed posts by resubmitting the form because the forum code is so awesome.

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Andrew Davis Andrew Davis
              Sam Hemelryk Sam Hemelryk
              Rossiani Wijaya Rossiani Wijaya
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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