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

Cannot create a course if default block is hidden

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      To reproduce:

      1. Go to the plugins settings, blocks, and click the Eye icon to hide the 'calendar_upcoming' block (Upcoming events).
      2. Go to the course administration, add/edit courses
      3. Add a new course
      4. Fill in the required fields (name) and leave rest of options default
      5. Click save

      Expected result:

      Course is created and does not contain the block that was hidden. (Or, it does contain the block, but the block is not displayed.)

      Actual result:

      An error occurs and the course is left partially created, in a non-working state.

        Attachments

          Activity

            People

            Assignee:
            quen Sam Marshall
            Reporter:
            quen Sam Marshall
            Tester:
            Nobody
            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:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: