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

Undefined property $competencies when competencies are disabled

    XMLWordPrintable

Details

    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-57064-master
    • Hide
      1. Use Clean (because of MDL-57065)
      2. Navigate to Site administration ► Competencies ► Competency settings.
      3. Uncheck Enable competencies.
      4. Click Save changes.
      5. Navigate to a course.
      6. Confirm that there aren't any notices displayed
      Show
      Use Clean (because of MDL-57065 ) Navigate to Site administration ► Competencies ► Competency settings. Uncheck Enable competencies. Click Save changes. Navigate to a course. Confirm that there aren't any notices displayed

    Description

      1. Navigate to Site administration ► Competencies ► Competency settings.
      2. Uncheck Enable competencies.
      3. Click Save changes.
      4. Navigate to a course.

      Expected

      • There aren't any notices or error messages.

      Actual

      • A wild notice appears:

        Notice: Undefined property: stdClass::$competencies in /home/fred/moodles/im/moodle/lib/navigationlib.php on line 2694
        

      Note, you won't see the notice in Boost because of MDL-57065.

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              fred Frédéric Massart
              Jun Pataleta Jun Pataleta
              Dan Poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16