Moodle
  1. Moodle
  2. MDL-26679

Block config settings don't allow setting of an empty list

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0, 2.0.1, 2.0.2
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
      None
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      Current blocklib allows for various config settings to be provided to override the default list of blocks for a course...

      The tests however are for !empty - meaning that it's not possible to specify and use an empty list.

      i.e.
      $CFG->defaultblocks_topics = '';
      gets ignored

        Gliffy Diagrams

          Activity

          Myles Carrick created issue -
          Show
          Myles Carrick added a comment - I've attached a patch for this at https://github.com/mylescarrick/moodle/commit/c8a63c6d5c03628327c0fb352cf45a5494f99d4c
          Myles Carrick made changes -
          Field Original Value New Value
          Affects Version/s 2.0.1 [ 10420 ]
          Affects Version/s 2.0 [ 10122 ]
          Martin Dougiamas made changes -
          Workflow MDL Workflow [ 68343 ] MDL Full Workflow [ 76051 ]
          Hide
          Michael de Raadt added a comment -

          Thanks for reporting this issue.

          We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported.

          If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

          Michael d.

          TW9vZGxlDQo=

          Show
          Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d. TW9vZGxlDQo=
          Hide
          Michael de Raadt added a comment -

          I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported.

          This is being done as part of a bulk annual clean-up of issues.

          If you still believe this is an issue in supported versions, please create a new issue.

          Show
          Michael de Raadt added a comment - I'm closing this issue as it has been inactive for over a year has been recorded as affecting versions that are no longer supported. This is being done as part of a bulk annual clean-up of issues. If you still believe this is an issue in supported versions, please create a new issue.
          Michael de Raadt made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee moodle.com [ moodle.com ]
          Resolution Won't Fix [ 2 ]

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: