[Building Sakai] heads-up on 2.9.x upgrade: container login now posts "user.login.container" event, which breaks existing listener code

Niebel, William (wdn5e) wdn5e at eservices.virginia.edu
Mon Jun 17 06:02:12 PDT 2013


Before Sakai 2.9.0, any user login posts a "user.login" event.

Beginning 2.9.0, a container login no longer posts a "user.login" event,
but instead posts only a "user.login.container" event.
(Other kinds of logins continue to post the general "user.login" event.)

If you run code listening for "user.login" events, your code will break on upgrade to 2.9.x
(It will no longer respond to container logins.)

We upgraded a few weeks ago from Sakai 2.8.1 to 2.9.1 and this broke 2 local tools.

trunk, the 2.9.x branch, and the 2.9.0, 2.9.1, and 2.9.2 tags all have this changed code.
To retain 2.8.x behavior on upgrade to 2.9.x, you must change your listener code
so that it responds also to "user.login.container".

Bill Niebel
University of Virginia

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130617/44134142/attachment.html 


More information about the sakai-dev mailing list