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

Assignments: Instructor receives error when clicking on Grade and no students have submitted

    XMLWordPrintable

    Details

    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      As the instructor:

      • Create a new site and add assignments and the gradebook
      • Do not add any students
      • Create an assignment and post it
      • Click Grade under the assignment just posted
      • Submissions page displays without errors

       

      • Now add some students to the site
      • Click Assignments
      • Expected behavior: assignments page should display

      If this is working properly, you should be able to click Grade under the posted assignment, get to the Submissions page and view the list of students.

       

      Show
      As the instructor: Create a new site and add assignments and the gradebook Do not add any students Create an assignment and post it Click Grade under the assignment just posted Submissions page displays without errors   Now add some students to the site Click Assignments Expected behavior: assignments page should display If this is working properly, you should be able to click Grade under the posted assignment, get to the Submissions page and view the list of students.  

      Description

      In testing I did a couple of days ago, I was able to click Grade for an assignment even if there were no students in the site, or there were students and no submissions.

      I was going to test peer assessments this evening and that is where this broke first, so I tried testing in a new site:

      If there are no students in the site, the submissions page displays without a problem when clicking Grade under an assignment.

      I then added students and after the students were added, I clicked Assignments again. This time the Assignments page didn't even load...I just got the 'Oops' error.

      From the logs:

      18-Oct-2018 20:46:24.576 ERROR [http-nio-20013-exec-119] org.hibernate.engine.jdbc.spi.SqlExceptionHelper.logExceptions Lock wait timeout exceeded; try restarting transaction 18-Oct-2018 20:46:24.580 WARN [http-nio-20013-exec-119] org.sakaiproject.assignment.impl.AssignmentServiceImpl.getSubmitterMap Exception thrown while creating empty submission for student who has not submitted, could not extract ResultSet

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code