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

Course competencies page broken when competencies added to activity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None

      Description

      Steps to reproduce:

      1) Go to the course competencies page
      2) Add competency to a course
      3) Add the competency to an activity
      4) Visit the course competencies page

      Coding error detected, it must be fixed by a programmer: Unknown context to use for formatting the property 'name' in the exporter 'core_course\external\course_module_summary_exporter'. You either need to add 'context' to your related objects, or create the method 'get_format_parameters_for_name' and return the context from there.
       
      More information about this error
       
      ×Debug info: 
      Error code: codingerror
      ×Stack trace:
      line 219 of /lib/classes/external/exporter.php: coding_exception thrown
      line 167 of /lib/classes/external/exporter.php: call to core\external\exporter->get_format_parameters()
      line 148 of /admin/tool/lp/classes/output/course_competencies_page.php: call to core\external\exporter->export()
      line 73 of /admin/tool/lp/classes/output/renderer.php: call to tool_lp\output\course_competencies_page->export_for_template()
      line 391 of /lib/outputrenderers.php: call to tool_lp\output\renderer->render_course_competencies_page()
      line 48 of /admin/tool/lp/coursecompetencies.php: call to plugin_renderer_base->render()
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              poltawski Dan Poltawski
              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:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: