Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24231 Error When Saving Calculated Question
  3. MDL-24249

question.php does not set correctly returnurl for next_wizard_form

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Questions
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      originalreturnurl http://132.208.141.198/moodle_head_new/question/edit.php?courseid=1&category=54%2C10

      moodle_url Object
      (
      [scheme:protected] => http
      [host:protected] => 132.208.141.198
      [port:protected] =>
      [user:protected] =>
      [pass:protected] =>
      [path:protected] => /moodle_head_new/question/question.php
      [slashargument:protected] =>
      [anchor:protected] =>
      [params:protected] => Array
      (
      [id] => 399
      [courseid] => 1
      [wizardnow] => datasetdefinitions
      [returnurl] => http://132.208.141.198/moodle_head_new/question/edit.php?courseid=1&category=54%2C10
      )

      )
      the handling of $returnurl should be revised to handle the case of $wizardnow!=='' i.e. questions with more than one page editting form.

        Attachments

          Activity

            People

            Assignee:
            ppichet Pierre Pichet
            Reporter:
            ppichet Pierre Pichet
            Tester:
            Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10