Changed export portfolio to* reduce the number of error messages* move the html out of the I18N file and into jsps* use the learning design processor so that the activities are processed (and hence displayed) in the correct order.
Preview changes: (1) when define later activity occurs don't tell the tool that it is define later but display a special screen before going to the next tool (2) for chosen grouping, schedule and permission gates show the normal page with an extra preview message then override the normal process and continue.Also part A of a change to the Flash call to get the learner progress - it should take the lesson id not the progress id.
Clean up grouping code so that the shared code is in lams.jar, and making it so that learner can't trigger the chosen grouping. I18N the grouping screen and added a wait page for the chosen grouping.
Random grouping now working. Changed to make learner service changes to stop a hibernate lazy initialisation exception when grouping has just been run. Also reduced the amount of data needed to be cached in the session - only the lesson id is needed not the complete lesson.
Changed calls to update lesson to use the lessonId rather than the lesson. Change allowed us to reduce the amount cached in the context. This fixed various issues with Optional and Parallel activities.
Changed calls to update lesson to use the lessonId rather than the lesson. Change allowed us to reduce the amount cached in the context. This fixed various issues with Optional and Parallel activities.
Replaced getActiveLessons with getLesson, to suit the change from listing all the lessons in the learner client to just working with a single lesson.Also moved the logic to cache the lesson learners into the lams.jar (in the LessonService).
Worked on the learner progress. Was always going back to the first activity when we exited a lesson - the learner progress in the session was out of date (wasn't updated as the tool's called the complete tool method). The learner progress is now in the special LAMS session object and is updated when tool's call the complete method.Also set up the string that will be used to inform Flash of the learner's progress. This string (attempted&=completed&=current) will be passed to Flash via passon.swf in the tool display jsp.
Tool deployment utility has been changed to update the context path and class path when the tool is deployed. Conf versions of web-settings and manifest files modified to suit and the main tool context application file moved so that only the tool's have a context file classpath of /org/lamsfoundation/lams/tool.
Changed learning design activities and transition collections to use all-delete-orphan cascade management. This will ensure that the secondary records are created and removed as required.This required fixing code that trigger cascade problems and also highlighted some session problems with the learner cache created by Jacky.
Modified the "leaveToolSession" and related code to allow the tool to pass the userid (which it gets from UserDTO in the shared session) rather than pass User (which the tool doesn't have).Rejigged the tool jars loaded on the classpath so suit the most "completed" tools.
Fixed problem where the learner interface didn't start the first time the learner joined the lesson. This was due to the activity in the request being a proxy activity rather than a real activity. Fixed it by having some common code that puts it in the activity, and get Hibernate to load a "real" activity before putting it in the request.
The common test code has been removed from lams.jar, which triggered the abstract lams test case class to change package. New version uses the "new" package.