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

Add convenience method getActor to complement getEventActor

    Details

    • Type: Feature Request
    • Status: Verified
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.5 [Tentative], 12.0, 19.0
    • Fix Version/s: 12.0, 19.0
    • Component/s: Kernel
    • 12 status:
      Resolved
    • Previous Issue Keys:
      KNL-1558
    • Test Plan:
      Hide

      Need an external learning record store setup to test this, I will mark it tested once it's verified.

      Show
      Need an external learning record store setup to test this, I will mark it tested once it's verified.

      Description

      There is a method in the learningRecordStoreService

      getEventActor(Event)

      Which can get the LRS_Actor from the event.

      However this method also is able to determine an actor from a UserId. It would be more convenient just to have methods for all of these options. I'll just leave the other method and mark it as deprecated.

      LRS.getActor(Event event)
      LRS.getActor(String userId)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  jonespm Matthew Jones
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration