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

Exception when importing questions with tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.1 regressions
    • Fix Version/s: 3.1.1
    • Component/s: Questions, Tags
    • Labels:
    • Testing Instructions:
      Hide
      1. In question bank create questions with tags
      2. Export questions in Moodle XML format
      3. Import questions from this file somewhere else
      4. Make sure questions were imported with the tags (you need to edit question to see the tags)
      Show
      In question bank create questions with tags Export questions in Moodle XML format Import questions from this file somewhere else Make sure questions were imported with the tags (you need to edit question to see the tags)
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-54715-master
    • Sprint:
      3.2 Sprint 1

      Description

      Pointed out by WangYang on MDL-50851

      moodle 3.1 file /moodle/question/format.php on line 429,
      it shoud not be " core_tag_tag::set_item_tags('core_question', 'question', $question->context, $question->id, $question->tags);"
      should be like " core_tag_tag::set_item_tags('core_question', 'question', $question->id, $question->context, $question->tags);"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marina Marina Glancy
                Reporter:
                marina Marina Glancy
                Peer reviewer:
                Marina Glancy
                Integrator:
                Andrew Nicols
                Tester:
                cameron1729
                Participants:
                Component watchers:
                Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jul/16