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

Show all/Hide all in Gradebook breaking

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.6, 19.0, 20.0 [Tentative]
    • Fix Version/s: 12.7, 19.1, 20.0 [Tentative]
    • Component/s: Gradebook
    • Labels:
      None
    • 19 status:
      Verified
    • 12 status:
      Verified
    • Test Plan:
      Hide
      1. Using a Sakai with sakai.demo=true, ie: with some course data.
      2. Login as instructor1, using sakai as the password
      3. Setup a course with some rosters, so you have plenty of students
      4. In the gradebook, add some items - 10 should do.Be sure that grade items have different point values.
        Grade several students. If you give them 100%, it's easier to tell if the data that displays will be correct.
      5. Mess around with the show all/hide all links and see what happens.
      6. Mess around with the column checkboxes, they should all work reliably.
      Show
      Using a Sakai with sakai.demo=true, ie: with some course data. Login as instructor1, using sakai as the password Setup a course with some rosters, so you have plenty of students In the gradebook, add some items - 10 should do.Be sure that grade items have different point values. Grade several students. If you give them 100%, it's easier to tell if the data that displays will be correct. Mess around with the show all/hide all links and see what happens. Mess around with the column checkboxes, they should all work reliably.

      Description

      Show all/Hide all in Gradebook breaking with large datasets*. The column visibility checkboxes and the show and hide links sometimes cause an error in the dev console and then cease to work. Sometimes this happens, sometimes not.

      My hypothesis is that the problem is caused by a race condition between the JS table's rendering operation and the column updating code triggered by the checkboxes. So, it may well be dependent on the number of students and items that you have, causing variation in the rendering time of the table.

      • In our testing (at ND, but on community code) we see this happen in all gradebooks, regardless of how large the data set is.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lcira Laura Cira
                  Reporter:
                  a.fish@lancaster.ac.uk Adrian Fish
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code