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

Cannot import questions with tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.7.2
    • 2.7.1
    • Questions, Tags

      Create some question in Question bank, and export it using Moodle XML format.

      Than try to import that question. Following error occurs:

      Coding error detected, it must be fixed by a programmer: Invalid database query parameter value

      This can be found in error log:

      [12-Aug-2014 17:58:00 Europe/Belgrade] Database transaction aborted automatically in /home/vukas/moodles/bombardier/moodle/question/import.php
      [12-Aug-2014 17:58:00 Europe/Belgrade] Default exception handler: Coding error detected, it must be fixed by a programmer: Invalid database query parameter value Debug: Objects are are not allowed: context_course
      Error code: codingerror

      • line 782 of /lib/dml/moodle_database.php: coding_exception thrown
      • line 783 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->detect_objects()
      • line 1141 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->normalise_value()
      • line 1015 of /tag/lib.php: call to mysqli_native_moodle_database->insert_record()
      • line 168 of /tag/lib.php: call to tag_assign()
      • line 429 of /question/format.php: call to tag_set()
      • line 119 of /question/import.php: call to qformat_default->importprocess()

            timhunt Tim Hunt
            vukas Branko Vukasovic
            Tim Hunt Tim Hunt
            Marina Glancy Marina Glancy
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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