KNL-984 merge r115335,r115336 from trunk


git-svn-id: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.3.x@121309 66ffb92e-73f9-0310-93c1-f5514f145a0a