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

Error when importing competency framework and competencies are disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.6
    • Competencies
    • MOODLE_36_STABLE

      When competencies are disabled (through the  setting), the following error appears when trying to import a competency framework:

       

      Competencies are not enabled.
      More information about this error
      ×Debug info: 
      Error code: competenciesarenotenabled
      ×Stack trace:
      line 70 of /competency/classes/api.php: moodle_exception thrown
      line 548 of /competency/classes/api.php: call to core_competency\api::require_enabled()
      line 464 of /admin/tool/lpimportcsv/classes/framework_importer.php: call to core_competency\api::create_framework()
      line 64 of /admin/tool/lpimportcsv/index.php: call to tool_lpimportcsv\framework_importer->import()
      

       

       

      I would suggest hiding the Import competency framework or let to import competencies (even if they are disabled).

       

            Unassigned Unassigned
            sarjona Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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