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

Reset not resetting correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.9, 2.0
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      Linux
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When choosing the 'Reset' option from the 'Administration' panel in a course, the forums' status are not being cleared as they should.

      The actual discussions/posts are removed. However, when you click on the 'Forums' link in the 'Activities' block, the number shown in the 'Discussions' column still shows the number of posts that were in the forum before the reset was performed and is not reset to 0 as it should. If I click on that number, it takes me to the forum where indeed there are no posts. The number just doesn't get reset to 0.

        Attachments

        1. forum_lib.php.patch
          0.9 kB
        2. lib.php
          14 kB

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              imported Imported
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08