Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37744 Datasetitems_form.php interface reworking
  3. MDL-34062

Datasetitems_form (calculated questiontype) interface does not work as expected

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: STABLE backlog
    • Component/s: Questions
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      The interface need minor revisions.
      The following illustrate some of the problems which are part bugs, part incomplete docs.

      Replication instructions:

      1. Create a new calculated question on a Quiz
      2. Configure the question as follows:
      Question text: Which the area of a rectangle with base {bs8} cm and height {altr8} cm ?
      Correct answer formula: {bs8}*{altr8}
      Grade: 100%
      3. Click the button Save changes
      4. Select "Will use a new shared dataset" on for both Wild cards
      5. Select Synchronize on the Synchronization options and click "Next page"
      6. Configure the Range of Values for wild cards {bs8} and {altr8} to from 3 to 20 and for from 4 to 25
      7. Click on the "Update the datasets parameters" button, just to be sure everything is ok and saved
      8. Look at the proposed Item to add and the correct answer calculations:


      9. Click on the Add button to add 1 new set of wildcard values:

      Result (BUG1): As you can see on the above images, the wild card values and correct answer of the new set added are completely different from the previously shown. According to the help files, this should not occur.

      10. Edit the new Item to add to change manually the wildcard values to 4 and 5, for example. The purpose is to input manually one data set.

      11. Click on the Add button to add 1 new set of wildcard values

      Result (BUG2, probably related to BUG1): The item added is completely different from the one that was defined manually. According to the help files, this should not occur and it prevents the user from defining manually the item to add.

      12. Look at the last added set of wild card values and click on the Delete button to delete it

      13. Change the Range of Values for {bs8} and {altr8} to 18 to 25 and 22 to 30

      14. Click in " Update the datasets parameters", just to be sure everything is ok and saved
      15. Select the option "forceregeneration of all wildcards" on the Next 'Item to Add' configuration
      16. Click on the Add button to add 1 new set of wildcard values

      Result(BUG3): The force regeneration was ignored. The new added set is exactly the same as the one that had been deleted previously. Moreover, it is out of the new range of values defined.

        Attachments

        1. Quiz2.jpeg
          Quiz2.jpeg
          43 kB
        2. Sem título.jpeg
          Sem título.jpeg
          132 kB
        3. Tracker1.jpg
          Tracker1.jpg
          56 kB
        4. Tracker2.jpg
          Tracker2.jpg
          53 kB
        5. Tracker3.jpg
          Tracker3.jpg
          28 kB
        6. Tracker4.jpg
          Tracker4.jpg
          32 kB
        7. Tracker5.jpg
          Tracker5.jpg
          37 kB
        8. Tracker6.jpg
          Tracker6.jpg
          41 kB
        9. Tracker7.jpg
          Tracker7.jpg
          32 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            avilela Antonio Vilela
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: