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

Creating course in single acitvity format automatically creates announcement forum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      Course that does not support announcements forum
      1. Create a course.
      2. Set the Course format to "Single activity format".
      3. Expand the "Appearance" section.
        • Confirm that the "News items to show" field is not shown
      4. Click "Save and display" and navigate to the course.
        • Confirm that the activity configuration form is displayed.
      Course that supports announcements forum
      1. Create another course.
      2. Set the Course format to "Topics format".
      3. Expand the "Appearance" section.
        • Confirm that the "News items to show" field is shown
      4. Make sure that the "News items to show" is greater than 0.
      5. Click "Save and return"
        • Confirm that an "Announcements Forum" is automatically created.
      6. Create a "Weekly format" course.
      7. Under Appearance, make sure that the "News items to show" is greater than 0.
      8. Click "Save and return"
        • Confirm that an "Announcements Forum" is automatically created.
      Legacy course format plugins
      1. Install the Onetopic and Collapsed topics course format plugins.
      2. Create a course.
      3. Set the Course format to "Onetopic format".
      4. Expand the "Appearance" section.
        • Confirm that the "News items to show" field is not shown
      5. Click "Save and display" and navigate to the course. (The UI display might turn out weird)
        • Confirm that an "Announcements Forum" is not created.
      6. Create another course.
      7. Set the Course format to "Collapsed topics".
      8. Expand the "Appearance" section.
        • Confirm that the "News items to show" field is shown
      9. Under Appearance, make sure to set that value of the "News items to show" to something greater than 0.
      10. Click "Save and display" and navigate to the course.
        • Confirm that an "Announcements Forum" is created.
      Show
      Course that does not support announcements forum Create a course. Set the Course format to " Single activity format ". Expand the " Appearance " section. Confirm that the " News items to show " field is not shown Click " Save and display " and navigate to the course. Confirm that the activity configuration form is displayed. Course that supports announcements forum Create another course. Set the Course format to " Topics format ". Expand the " Appearance " section. Confirm that the " News items to show " field is shown Make sure that the " News items to show " is greater than 0. Click " Save and return " Confirm that an " Announcements Forum " is automatically created. Create a " Weekly format " course. Under Appearance , make sure that the " News items to show " is greater than 0. Click " Save and return " Confirm that an " Announcements Forum " is automatically created. Legacy course format plugins Install the Onetopic and Collapsed topics course format plugins. Create a course. Set the Course format to " Onetopic format ". Expand the " Appearance " section. Confirm that the " News items to show " field is not shown Click " Save and display " and navigate to the course. (The UI display might turn out weird) Confirm that an " Announcements Forum " is not created. Create another course. Set the Course format to " Collapsed topics ". Expand the " Appearance " section. Confirm that the " News items to show " field is shown Under Appearance , make sure to set that value of the " News items to show " to something greater than 0. Click " Save and display " and navigate to the course. Confirm that an " Announcements Forum " is created.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-56994-master-2

      Description

      This announcements forum also becomes the main activity if the activity type for this course is forum. And it's in the wrong forum format, obviously

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jpataleta Jun Pataleta
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Damyon Wiese
              Integrator:
              Dan Poltawski
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16