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

Notice while importing questions in lesson

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.7.8, 2.8.6, 2.9
    • 2.9
    • Lesson
    • MOODLE_29_STABLE
    • MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE
    • wip-MDL-49880-master
    • Hide
      1. Create a cloze question in the questionbank. You can use something like this:

        {1:SHORTANSWER:=Berlin} is the capital of Germany.
        

      2. Export the question in the Moodle XML format.
      3. Create a new lesson.
      4. Import the question. Make sure to change the file format to Moodle XML.
      5. Ensure that there is no notice about an undefined property. You should see a warning that unsupported question types were not imported.
      6. Now try to import the file back into the question bank.
      7. Everything should import correctly.
      Show
      Create a cloze question in the questionbank. You can use something like this: {1:SHORTANSWER:=Berlin} is the capital of Germany. Export the question in the Moodle XML format. Create a new lesson. Import the question. Make sure to change the file format to Moodle XML. Ensure that there is no notice about an undefined property. You should see a warning that unsupported question types were not imported. Now try to import the file back into the question bank. Everything should import correctly.
    • Team '; drop tables Sprint 6

    Description

      Found while completing MDLQA-7902

      Notice: Undefined property: qformat_xml::$course in /var/www/vhosts/qa.moodle.net/html/question/format/xml/format.php on line 457

      Attachments

        Issue Links

          Activity

            People

              abgreeve Adrian Greeve
              sbourget Stephen Bourget
              Dave Cooper Dave Cooper
              David Monllaó David Monllaó
              Rajesh Taneja Rajesh Taneja
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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