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

Lose Blocks When Saving Course Settings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.5
    • 1.6.5, 1.7.2, 1.8
    • Blocks
    • None
    • All
    • MOODLE_15_STABLE
    • MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE

    Description

      If a block has specific applicable formats defined, they can be removed from a course when the course settings are saved.

      What happens is this. Say I have a block with a specific applicable format set like:

      array('all' => false,

      'course-view-topics' => true);

      If I edit the course settings (for a topics format), and save, the block above will be deleted from the course. This is because when I save the course settings, I do it from a page called 'course-edit-topics', which is not in the applicable formats list. While this logically makes sense, I'm not sure it makes sense from a useability standpoint.

      The work around is to use 'course-*-topics', but this may not be what is actually wanted.

      mike

      Attachments

        Issue Links

          Activity

            People

              pj Jon Papaioannou
              mchurch Mike Churchward
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Mar/07