SAK-27580 merge r311198,311200 from trunk


git-svn-id: https://source.sakaiproject.org/svn/site-manage/branches/sakai-10.x@311881 66ffb92e-73f9-0310-93c1-f5514f145a0a