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

Coding error on learning plan competencies page.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.4, 3.6.2, 3.7
    • Fix Version/s: 3.5.6, 3.6.4
    • Component/s: Competencies
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to Site administration / Competencies / Competency frameworks
      2. Create a competency framework and one competency
        1. https://docs.moodle.org/37/en/admin/tool/lp/competencyframeworks
      3. Go to a course competencies page and add the competency from the framework to the course
        1. https://docs.moodle.org/37/en/admin/tool/lp/coursecompetencies
      4. Go to Site administration / Competencies / Learning plan templates
      5. Create a new learning plan template
        1. https://docs.moodle.org/37/en/admin/tool/lp/learningplans
      6. Add the competency to the learning plan template
      7. Go back to Site administration / Competencies / Learning plan templates
      8. Click on the new template
      9. Verify you do not see an error like "Notice: Undefined property: stdClass::$category"

       

      Show
      Go to Site administration / Competencies / Competency frameworks Create a competency framework and one competency https://docs.moodle.org/37/en/admin/tool/lp/competencyframeworks Go to a course competencies page and add the competency from the framework to the course https://docs.moodle.org/37/en/admin/tool/lp/coursecompetencies Go to Site administration / Competencies / Learning plan templates Create a new learning plan template https://docs.moodle.org/37/en/admin/tool/lp/learningplans Add the competency to the learning plan template Go back to Site administration / Competencies / Learning plan templates Click on the new template Verify you do not see an error like "Notice: Undefined property: stdClass::$category"  
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-64864-master

      Description

      Click on a learning plan from  Site administration / Competencies / Learning plan templates

      See this error at the top of the page:

      Notice: Undefined property: stdClass::$category in /home/damyon/moodles/stable_master_alt/moodle/course/classes/external/course_summary_exporter.php on line 68

        Attachments

        1. MDL-64864.png
          74 kB
          Jennifer Bauzon

          Activity

            People

            Assignee:
            damyon Damyon Wiese
            Reporter:
            damyon Damyon Wiese
            Peer reviewer:
            Simey Lameze
            Integrator:
            Adrian Greeve
            Tester:
            Jennifer Bauzon
            Participants:
            Component watchers:
            Damyon Wiese, Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/May/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h