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

Add method to get assignment list from CategoryDefinition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.1
    • Fix Version/s: 2.8.2, 2.9.0
    • Component/s: edu-services
    • Labels:
      None
    • 2.9 Status:
      Resolved

      Description

      The gradebookservice provies two methods for getting the categories,

      List<Category> gradebookService.getCategories

      and

      List<CategoryDefinition> gradebookService.getCategoryDefinitions

      However the Javadocs for the getCategories method says:
      This method cannot be used outside of the gradebook because it returns the org.sakaiproject.tool.gradebook.Category object. If you require info on the categories from a consumer outside the gradebook, use getCategoryDefinitions(String)

      The issue here is that using getCategoryDefinitions does not provide a corresponding getAssignmentList method like the Category does. And you can't use the Category method outside of the gradebook since it isn't shared.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                steve.swinsburg Steve Swinsburg
                Reporter:
                steve.swinsburg Steve Swinsburg
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration