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

"save as new question" fails to store files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 2.0
    • 2.0
    • Questions, Quiz
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      From Eloy http://tracker.moodle.org/browse/MDL-16094?focusedCommentId=92196&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_92196

      Aha, found it!

      It is the "save as new question" the one missing the @PLUGINFILE@ conversion !

      To reproduce:

      • create quiz
      • add true/false question with images in question text, general feedback and true and false feedback (save it)
      • edit the question and without changing anything, click on "save a new question"

      Expected result:

      • One new question is created with all the images using @PLUGINFILE@

      Current (wrong) result:

      • One error about URL not found happens (I commented that yesterday at MDL-16345).
      • One new question is created but all the images are using "draftfiles" URLs (the conversion to @PLUGINFILE@ doesn't happen)

      I guess the same will happen with other qtypes, I only tested the true/false one.

      Ciao

            dongsheng Dongsheng Cai
            dongsheng Dongsheng Cai
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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