Moodle
  1. Moodle
  2. MDL-38490

In question preview, variant is an attempt option, not a display option

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.6, 2.4.2, 2.5
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      1. Create a calculated question and create several sets of random values for it.

      2. Preview it. Ensure that the Variant option is shown in the Attempt options section of the form at the bottom of the preview pop-up.

      3. Verify that changing the display options does not change the variatn.

      4. Verify that changing the variant works.

      Show
      1. Create a calculated question and create several sets of random values for it. 2. Preview it. Ensure that the Variant option is shown in the Attempt options section of the form at the bottom of the preview pop-up. 3. Verify that changing the display options does not change the variatn. 4. Verify that changing the variant works.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull 2.4 Branch:
    • Pull Master Branch:
    • Rank:
      48480

      Description

      It is in the wrong section of the form.

        Activity

        Hide
        Tim Hunt added a comment -

        Fixed. The submitted data was being processed OK, it was just a display issue.

        Show
        Tim Hunt added a comment - Fixed. The submitted data was being processed OK, it was just a display issue.
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Integrated (23, 24 & master), thanks!

        Show
        Eloy Lafuente (stronk7) added a comment - Integrated (23, 24 & master), thanks!
        Hide
        David Monllaó added a comment -

        All works as expected, the question variant option appears at the end of the 'Attempt options' section.

        Show
        David Monllaó added a comment - All works as expected, the question variant option appears at the end of the 'Attempt options' section.
        Hide
        Damyon Wiese added a comment -

        This issue has been integrated upstream and is now available via git (and in some hours, via mirrors and downloads).

        Thanks for your contributions!

        Show
        Damyon Wiese added a comment - This issue has been integrated upstream and is now available via git (and in some hours, via mirrors and downloads). Thanks for your contributions!

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: