Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5073

invisible section causes an error with "topcoll" format

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: Course format: Topcoll
    • Labels:
      None
    • Plugin Version:
      2.7.0.1
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE

      Description

      1. Create new course with "topcoll" format.
      2. Turn Section-3 invisible.
      3. Log in as student.
      4. Moodle shows the following message:

      "Fatal error: Call to undefined method stdClass::get_section() in /var/www/moodle/course/format/topcoll/renderer.php on line 453"

      My env.:
      Moodle 2.7 (Build: 20140512)
      Collapsed Topics 2.7.0.1 (2014051200)

        Attachments

          Activity

            People

            • Assignee:
              gb2048 Gareth J Barnard
              Reporter:
              topstone ISHIKAWA Takayuki
              Tester:
              Gareth J Barnard
              Participants:
              Component watchers:
              Gareth J Barnard
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14