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

Error when loading a user competency in a completed plan

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:

      Description

      When accessing the user_competency page from plan that is completed, an error occurs.

      Coding error detected, it must be fixed by a programmer: The competency does not belong to this template: 4, 1
       
      More information about this error
      Debug info:
      Error code: codingerror
      Stack trace:
       
          line 183 of /competency/classes/template_competency.php: coding_exception thrown
          line 244 of /competency/classes/plan.php: call to core_competency\template_competency::get_competency()
          line 3149 of /competency/classes/api.php: call to core_competency\plan->get_competency()
          line 68 of /admin/tool/lp/classes/output/user_competency_summary_in_plan.php: call to core_competency\api::get_plan_competency()
          line 152 of /admin/tool/lp/classes/output/renderer.php: call to tool_lp\output\user_competency_summary_in_plan->export_for_template()
          line 319 of /lib/outputrenderers.php: call to tool_lp\output\renderer->render_user_competency_summary_in_plan()
          line 51 of /admin/tool/lp/user_competency_in_plan.php: call to plugin_renderer_base->render()
      

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Jun Pataleta
            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:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: