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

Adding a competency to a label breaks the competencies screen

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as admin
      2. Go to Site administration ► Competencies ► Competency frameworks
      3. Create a new competency framework CF1
      4. Add a 2 competencies Comp1 and Comp2 to CF1.
      5. Create a course C1.
      6. Under Course administration, click Course competencies.
      7. Add Comp1 to C1's course competencies.
      8. Create a Label resource L1.
      9. On the Competencies section, add Comp1.
      10. Click Save and return to course.
      11. Under Course administration, click Course competencies.
        • Confirm that the page is displayed without any errors.
      12. Click Add competencies to course and add Comp2.
        • Confirm that Comp2 is added to the list of C1's competencies and that there is no error dialogues displayed.
      13. Click on Comp1's link.
        • Confirm that the user_competency_in_course page is displayed without any errors.
      Show
      Login as admin Go to Site administration ► Competencies ► Competency frameworks Create a new competency framework CF1 Add a 2 competencies Comp1 and Comp2 to CF1. Create a course C1. Under Course administration, click Course competencies . Add Comp1 to C1's course competencies. Create a Label resource L1. On the Competencies section, add Comp1. Click Save and return to course . Under Course administration, click Course competencies . Confirm that the page is displayed without any errors. Click Add competencies to course and add Comp2. Confirm that Comp2 is added to the list of C1's competencies and that there is no error dialogues displayed. Click on Comp1's link. Confirm that the user_competency_in_course page is displayed without any errors.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-54924-master
    • Sprint:
      3.2 Sprint 2

      Description

      adding a competency to a label break the course competencies page :
      Fatal error: Call to a member function out() on a non-object in .../admin/tool/lp/classes/external/course_module_summary_exporter.php on line 48

      1) create a compétency framework with one competency comp1
      2) in a new course, add the competency comp1
      3) add a label in the course and select comp1
      3) in the course menu clic on course competencies

        Attachments

          Activity

            People

            Assignee:
            jpataleta Jun Pataleta
            Reporter:
            andil Andil
            Peer reviewer:
            Jake Dallimore
            Integrator:
            Andrew Nicols
            Tester:
            Simey Lameze
            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:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Jul/16