Moodle
  1. Moodle
  2. MDL-27670

Calculated question creation allways shows "will use the same existing shared dataset as before" even when the data set does not exist

    Details

    • Type: Bug Bug
    • Status: Development in progress
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.13, 2.0.4, 2.1.1, 2.2, 2.7
    • Fix Version/s: STABLE backlog
    • Component/s: Quiz
    • Labels:
    • Environment:
      LAMP
    • Database:
      Any
    • Testing Instructions:
      Hide
      • Create a calculated question with data:
        • Question text: "What is {a} plus {b}?"
          ** Answer text: {a}

          +

          {b}, grade 100%
          * Click "Save changes".

          TEST: On the next screen, verify that for "wildcard {a}" and "wildcard {b}

          ", the option "will use a new private dataset" is displayed.

      • Continue with the wizard, adding at least one dataset item on the third wizard screen. Save the question.
      • Edit the question again. Proceed to the second wizard screen.

      TEST: Verify that for "wildcard

      {a}

      " and "wildcard

      {b}

      ", the option "will use the same existing private dataset as before" is displayed.

      Show
      Create a calculated question with data: Question text: "What is {a} plus {b}?" ** Answer text: {a} + {b}, grade 100% * Click "Save changes". TEST: On the next screen, verify that for "wildcard {a}" and "wildcard {b} ", the option "will use a new private dataset" is displayed. Continue with the wizard, adding at least one dataset item on the third wizard screen. Save the question. Edit the question again. Proceed to the second wizard screen. TEST: Verify that for "wildcard {a} " and "wildcard {b} ", the option "will use the same existing private dataset as before" is displayed.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
    • Rank:
      17331

      Description

      When creating a new calculated question, on step 2 the drop down allways shows "will use the same existing private dataset as before" (keptcategory1 string) instead of "will use a new private dataset" (newlocal1 string).

      The keptcategory1 string is only to be used when editing an existing calculated question with an existing private dataset created to that variable. It shouldn't ever be show on the question creation because no private datasets exist.

      This question type is already very confusing so these small details can make some difference to the user.

        Activity

          People

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

            Dates

            • Created:
              Updated: