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

Survey: Matrix of Choices - many instances of this type in a single page produces misbehavior

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 11.0
    • Fix Version/s: 11.1
    • Labels:
      None
    • Environment:
      tested on 11.x
    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2926
    • Test Plan:
      Hide

      1) Import the provided example exam into Test & Quizzes.
      2) As the instructor, check the "Allow one response per column (forced ranking)" property for each matrix choice question
      2) Either as a student or in preview mode (code is the same) test that the selection on each question behaves as expected
      example: part 2 - question 1 should force 1 answer per column
      part 5 - question 1 should allow multiple per column

      Show
      1) Import the provided example exam into Test & Quizzes. 2) As the instructor, check the "Allow one response per column (forced ranking)" property for each matrix choice question 2) Either as a student or in preview mode (code is the same) test that the selection on each question behaves as expected example: part 2 - question 1 should force 1 answer per column part 5 - question 1 should allow multiple per column

      Description

      When many instances of the Survey: Matrix of Choices type question are in a single page, the front end handler for the "forced ranking" (single answer per column) code, from won't properly identified the isolated container for each question, leading to misbehavior.
      It picks up the forced property of other matrices, not allowing people to either select multiple, or select a single options per column. Also, it makes already selected same-row options disappear.

      I uploaded an example XML which can be imported in 11 and tested. The third matrix - part 5, question 1 - is not constrained for single answers per column, yet the handler fails.

      Pull request: SAM-2926

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Sristi Sristi Shrestha
                  Reporter:
                  fgeraci Fernando
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration