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

Announcementforum is not being created while there is still an instance in the recycle bin

    XMLWordPrintable

Details

    • MOODLE_400_STABLE, MOODLE_401_STABLE

    Description

      Steps to reproduce:

      1. Create course with "Number of announcements" -> 0
      2. Course will not have an announcement forum (intended)
      3. Edit course settings -> "Number of announcements" -> 3 (or something else >0), save and display
      4. Course will have an announcement forum (intended)
      5. Edit course settings -> "Number of announcements" -> 0 (this step not really needed, just to show that the triggering does not even work if it is changed from 0 to more than 0), save and display
      6. Delete the announcement forum
      7. Edit course settings -> "Number of announcements" -> 3 (or something else >0), save and display
      8. Course will not have an announcement forum (not intended, this is a regression vom Moodle 3.11 !)

      I figured out that this issue is about the recycle bin. As long as the announcement forum instance is in the recycle bin, a new one will not be created.

      • Remove the announcement forum instance from the recycle bin
      • Edit course settings, assert that "Number of announcements" is greater than 0
      • Save and display -> Announcement forum will be back

      From a usability point of view it is already pretty tough to create an announcement forum for his course. This regression from 3.11 should be fixed to not make it even worse.

      Tested on 2022041901.09 (4.0.1+ (Build: 20220624)), not sure which 4.0.X versions are affected exactly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            phmemmel PhMemmel
            Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: