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

Undefined property $competencies when competencies are disabled

XMLWordPrintable

    • 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

      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.

            fred Frédéric Massart
            fred Frédéric Massart
            Jun Pataleta Jun Pataleta
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.