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

Lose Blocks When Saving Course Settings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6.5, 1.7.2, 1.8
    • Component/s: Blocks
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_15_STABLE
    • Fixed Branches:
      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

              • Assignee:
                pj Jon Papaioannou
                Reporter:
                mchurch Mike Churchward
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Mar/07