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

GBNG > Logic error when enabling/disabling drop/keep text fields

    Details

    • Type: Bug
    • Status: Awaiting Review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 11.4, 12.4, 19.0
    • Fix Version/s: None
    • Component/s: Gradebook
    • Labels:
      None
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Performing certain steps when using the drop/keep text fields can erroneously enable fields when they shouldn't be.

      Steps to reproduce:

      1. Create a category; assign two gradebook items of the same point value to the category
      2. Go to Settings > Categories & Weighting
      3. Select all three checkboxes (drop highest, drop lowest, and keep highest)
      4. In the "Drop Highest" text box, enter a numeric value greater than zero and click somewhere else so the text box no longer has focus
        1. The "Keep Highest" text box is correctly disabled
      5. In the "Drop Lowest" text box, enter a numeric value greater than zero and click somewhere else so the text box no longer has focus
        1. The "Keep Highest" text box is correctly still disabled
      6. In the "Drop Highest" text field, enter "0" (zero) and click somewhere else so the text box no longer has focus
        1. The "Keep Highest" text box is enabled; this is a bug, it should still be disabled because there's still a non-zero numeric value in "Drop Lowest"

      There may be other permutations of this bug not covered by the above test case.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  bjones86 Brian Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:

                      Git Integration