Logged events don't include context (siteId)

Description

In 2.4.0+ (after ), logged events don't include context (siteId). Looking at events should begin with: /gradebook/SITEID/(...)

Logged events are of the following form instead:

/gradebook/1/New item

gradebook.newItem

/gradebook/1/2/instructor

gradebook.updateItemScores

/gradebook/1/instructor

gradebook.downloadRoster

/gradebook/1/new gb

gradebook.newItem

Activity

Show:

Louis Majanja December 21, 2007 at 12:13 PM

reolved @ rev 39608

Louis Majanja December 21, 2007 at 10:59 AM

hey Nuno,
disregard my previous comment - actually i used the gradebookId as the contextId but i should have used the gradebookUid as the contextId. the gradebookUid is the same as the as the siteId in which the gradebook is located.

Nuno Grilo December 21, 2007 at 1:50 AM

Louis,

Even if the contextId is not a siteId, it is usefull that this gets logged in the logged event REF field. In this case (and for specific case of SiteStats), I can be aware that this context is not a siteId so i can retrieve the siteId (if it makes sense) and associate the events with it (so SiteStats can manage Gradebook events).

Thanks,
Nuno

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created July 19, 2007 at 4:19 AM
Updated March 27, 2012 at 7:02 AM
Resolved December 21, 2007 at 12:13 PM