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

Max points multiplied by 100 when editing assignments

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.0
    • Fix Version/s: None
    • Component/s: Assignments
    • Labels:
      None
    • Test Plan:
      Hide

      Step 1: Create an assignment with points.

      1. In Assignments, click Add.
      2. Enter "Assignment 1" for the Title.
      3. Add some text for the Assignment Instructions.
      4. For the Grading Scale select Points.
      5. Enter "100" for the max point value.

      Step 2: Edit the assignment

      1. In the Assignments List, note that Assignment 1 has a maximum of 100.00 points.
      2. Click Edit under Assignment 1

      Step 3: Note the max. points is 100x

      1. Note that the text field for max points displays "10000" instead of the expected "100.00" point value. (This unintended point value will not be set to the assignment unless the instructor re-posts it.)
      Show
      Step 1: Create an assignment with points. In Assignments, click Add. Enter "Assignment 1" for the Title. Add some text for the Assignment Instructions. For the Grading Scale select Points. Enter "100" for the max point value. Step 2: Edit the assignment In the Assignments List, note that Assignment 1 has a maximum of 100.00 points. Click Edit under Assignment 1 Step 3: Note the max. points is 100x Note that the text field for max points displays "10000" instead of the expected "100.00" point value. (This unintended point value will not be set to the assignment unless the instructor re-posts it.)

      Description

      For assignments that have point values, the max points text field (i.e., For points, enter maximum possible) displays an erroneous point value magnified by 100x when the instructor clicks Edit. This is occurring on the nightly server for 12.x.

      This 100x bug might be due to a dropped decimal point. In Sakai 11 two decimal places are appended to integer point values. For instance, an assignment worth 100 points will be displayed as "100.00" when the instructor clicks Edit. Dropping the decimal point yields the 100x distortion: "10000".

      See the Test Plan and attached screenshots for how to reproduce this bug. The bug seems like it might be introduced through the presentation logic, because the 100x distortion will not stick to the assignment unless the instructor re-posts the assignment from the Edit view (assuming the instructor has not corrected the distorted point value).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ern Earle R Nietzel
                Reporter:
                hornersa Sean Horner
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code