Error observing Turnitin Membership update because we couldn't look up site: null

Description

We're seeing lots of errors from turnitin:

Activity

Brian J. October 14, 2016 at 10:04 AM

Git commit cb497cc

Matthew Buckett August 10, 2016 at 8:52 AM

This is because the context for an event is where the event was generated, so if there isn't a current site set in the magic thread local there won't be a context on the event. As the events that are being watched for are for Sites we should just lookup the site to which the event refers.

You can see the context being set in org.sakaiproject.event.impl.BaseEventTrackingService.BaseEvent#BaseEvent(java.lang.String, java.lang.String, boolean, int)

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created August 10, 2016 at 8:44 AM
Updated October 14, 2016 at 10:04 AM
Resolved October 14, 2016 at 10:04 AM