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

Gradebook: Sections Column displays None for Non Provided Sections

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 20.1, 21.0 [Tentative]
    • Component/s: Gradebook
    • Labels:
      None
    • Environment:
      Nightly Trunk
    • 20 status:
      Verified
    • Test Plan:
      Hide
      1. Login to Sakai as an Instructor
      2. Access your site and add the Sections Info tool
      3. Access the Section Info tool and click on Options tab
      4. Make sure Manaullay Manage your sections option is selected and Save
      5. Click on Add Sections
      6. Add a new section and save
      7. Access the Gradebook
      8. Verify Sections column now appears

      Expected Result - Users in newly created section will display that section in the gradebook section column

      Actual Result - "None" is displayed for all users. 

      Show
      Login to Sakai as an Instructor Access your site and add the Sections Info tool Access the Section Info tool and click on Options tab Make sure Manaullay Manage your sections option is selected and Save Click on Add Sections Add a new section and save Access the Gradebook Verify Sections column now appears Expected Result - Users in newly created section will display that section in the gradebook section column Actual Result - "None" is displayed for all users. 

      Description

      Sections that have not been provided by CM are not being listed in the sections column of GradebookNG.  The Sections column appears but displays None.  Below is some debug logging from a 20.1 instance I used for testing:

       

      12:05:21.745 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.tool.pages.BasePage.setUserPreferredLocale User preferred locale: en_US 07-Aug-2020 12:05:21.800 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [GradebookPage init] was: 0ms 07-Aug-2020 12:05:22.015 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [Gradebook page done] was: 214ms 07-Aug-2020 12:05:22.357 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [GbGradeTableData init] was: 0ms 07-Aug-2020 12:05:22.392 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [getGradebookAssignments] was: 0ms 07-Aug-2020 12:05:22.397 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.timeWithContext Time for [buildGradeMatrix].[buildGradeMatrix start] was: 0ms 07-Aug-2020 12:05:22.405 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.timeWithContext Time for [buildGradeMatrix].[getGradebook] was: 7ms 07-Aug-2020 12:05:22.412 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.GradebookNgBusinessService.getUserSections No section ids found for OCD363_3-FA18-Quarter. Returning an empty map ... 07-Aug-2020 12:05:22.749 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.timeWithContext Time for [buildGradeMatrix].[sortUsers] was: 351ms 07-Aug-2020 12:05:22.989 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.timeWithContext Time for [buildGradeMatrix].[putCourseGradesInMatrix] was: 591ms 07-Aug-2020 12:05:23.803 INFO [http-apr-8146-exec-8] org.sakaiproject.entitybroker.util.servlet.DirectServlet.dispatch Could not process entity: /gbng (403)[null]: Security exception handling request for view (/gbng.json), this is typically caused by the current user not having access to the data requested or the user not being logged in at all :: message=You must be logged in to access GBNG data (rethrown) 07-Aug-2020 12:05:25.273 INFO [Timer-2] org.sakaiproject.email.impl.BaseDigestService.sendDigests Preparing to send the mail digests for 20200807050000000]20200808050000000 07-Aug-2020 12:05:28.714 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.timeWithContext Time for [buildGradeMatrix].[putAssignmentsAndCategoryItemsInMatrix] was: 6316ms 07-Aug-2020 12:05:28.714 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.timeWithContext Time for [buildGradeMatrix].[sortGradeMatrix] was: 6317ms 07-Aug-2020 12:05:28.715 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [buildGradeMatrix] was: 0ms 07-Aug-2020 12:05:28.748 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [getGradebookCategories] was: 0ms 07-Aug-2020 12:05:28.783 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [getGradebookSettings] was: 0ms 07-Aug-2020 12:05:28.785 DEBUG [http-apr-8146-exec-2] org.sakaiproject.gradebookng.business.util.GbStopWatch.time Time for [toolNameToIconCSS] was: 0ms
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                a.fish@lancaster.ac.uk Adrian Fish
                Reporter:
                karagon Kenneth Aragon
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration