included error handling by adding to Actions <exception key="error.exception.McApplication" type="org.lamsfoundation.lams.tool.mc.McApplicationException" handler="org.lamsfoundation.lams.tool.mc.web.CustomStrutsExceptionHandler" path=".mcErrorBox" scope="request" />
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Modified ToolSessionDAO to look up either a grouped tool session or an individual tool session using the learner rather than the group (in the group cases). The "get group" code only worked for explicit groups defined in the activity object, it didn't work for a "class wide" group, so the call to the get group in the tool session lookup was replaced by an extented HQL query which look at the actual group data in the database (looking via the session table, rather than via activity).
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Added proper support for the three grouping support types GROUPING_SUPPORT_NONE, GROUPING_SUPPORT_OPTIONAL, GROUPING_SUPPORT_REQUIRED.
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Changed the unique key column to be "uq_blah_blah" rather than "uqblahblah" as the latter has the potential for overlaps. e.g. uq_123 could be uq_<12><3> or uq_<1><23>; also changed group -> sessionGroup so that HQL wouldn't complain about group being a reserved word.