Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42099

T&Q: When editing a part that has a random draw, the wrong pool displays under Randomization

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 19.0, 19.1, 19.2, 20.0
    • Fix Version/s: 19.3, 20.0
    • Environment:
      Tested on Chrome 75 and Firefox 60.7.2esr (Win 10)
    • 19 status:
      Verified
    • Test Plan:
      Hide

      Steps to replicate:

      1. As an instructor, set up 3 or more pools (e.g. Pool 1, Pool 2, Pool 3)
      2. Create a new assessment using assessment builder
      3. To the right of Part 1, choose EDIT
      4. Under TYPE, choose "Random draw from question pool"
      5. Under RANDOMIZATION, enter the number of question to draw, and select a pool that is NOT the first one in the list (i.e. select Pool 2 or 3, not Pool 1)
      6. Under SCORING, enter a point value
      7. SAVE. Notice the pool that questions are being drawn from.
      8. Now click EDIT to the right of Part 1 again

      Expected behavior is that the pool that was selected and saved previously should show instead (Pool 2 or 3).

      Show
      Steps to replicate: As an instructor, set up 3 or more pools (e.g. Pool 1, Pool 2, Pool 3) Create a new assessment using assessment builder To the right of Part 1, choose EDIT Under TYPE, choose "Random draw from question pool" Under RANDOMIZATION, enter the number of question to draw, and select a pool that is NOT the first one in the list (i.e. select Pool 2 or 3, not Pool 1) Under SCORING, enter a point value SAVE. Notice the pool that questions are being drawn from. Now click EDIT to the right of Part 1 again Expected behavior is that the pool that was selected and saved previously should show instead (Pool 2 or 3).

      Description

      The following occurs in Sakai 19.x maintenance and on master (20), but does not occur on 11.x or 12.x.

      In Tests & Quizzes, if an instructor sets up a part to select a random draw from a pool (and saves), when the instructor goes back and edits that part, the correct pool (the one that was selected) does not display in the drop-down under Randomization. Instead, the drop-down displays the first pool in the list alphabetically, rather than the pool the instructor selected and saved before. If instructor doesn't notice that and saves, questions will be drawn from the wrong pool.

      Steps to replicate:

      1. As an instructor, set up 3 or more pools (e.g. Pool 1, Pool 2, Pool 3)
      2. Create a new assessment using assessment builder
      3. To the right of Part 1, choose EDIT
      4. Under TYPE, choose "Random draw from question pool"
      5. Under RANDOMIZATION, enter the number of question to draw, and select a pool that is NOT the first one in the list (i.e. select Pool 2 or 3, not Pool 1)
      6. Under SCORING, enter a point value
      7. SAVE. Notice the pool that questions are being drawn from.
      8. Now click EDIT to the right of Part 1 again
      9. Under RANDOMIZATION, notice that the pool listed to draw from is Pool 1, the first pool in the list – not the pool that was selected above. Expected behavior is that the pool that was selected and saved previously should show instead (Pool 2 or 3). If instructor doesn't notice this and saves, questions will be drawn from the wrong pool.

       

        Gliffy Diagrams

          Zeplin

            Attachments

            1. 2019-08-21_12-30-30.mp4
              12.29 MB
              John C Buckingham
            2. edit_part1.gif
              21 kB
              Andrea Schmidt
            3. initial_random_draw_setup.gif
              33 kB
              Andrea Schmidt

              Issue Links

                Activity

                  People

                  Assignee:
                  farreri Miguel Pellicer
                  Reporter:
                  mcphaulk Karen McPhaul
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration