changed groupingType property to be groupingTypeIDchanged the GroupingDTO(Grouping grouping) constructor so that it directly passes the grouping object into the processGroupingActivity() method
Modified the ToolDownload to pick up the name of the tool content handler bean from the servlet definition, rather than hardcoding a standard name. This is needed as we can't have duplicated bean names across projects - the beans overwrite each other when loaded in lams_learning and lams_monitoring.
ToolDownload has been modified to pick up the name of the tool content handler bean from the servlet definition, rather than hardcoding a standard name. The tool was use the new definition.
ToolDownload has been modified to pick up the name of the tool content handler bean from the servlet definition, rather than hardcoding a standard name. The tool was use the new definition.
Modified the ToolDownload to pick up the name of the tool content handler bean from the servlet definition, rather than hardcoding a standard name. This is needed as we can't have duplicated bean names across projects - the beans overwrite each other when loaded in lams_learning and lams_monitoring.
modifications done on groupings stuff. added method parseGroupings and changed it so that the groupings object is not created when parsing the grouping activities. Instead it will be created when processing the groupings array. removed some use of instanceOf as it wasnt working.Calculate first activity for a learning design now works properly.
modified the if statement in getGroupingByUUID so that it will return the first element in the list, only if the size of the list is greater than 0 without this, an exception is thrown
added property groupingTypeId changed the getGroupingTypeId to return the groupingTypeId instead of using the "instanceOf" checks added method isRandomGrouping() , isChosenGrouping() and isClassGrouping()
added the property groupingTypeId, which previously wasnt there. when retrieving Grouping objects, the groupingTypeId was null regardless of what value was stored on database. Works okay now.
Instructions files now appear in the instructions page on the monitoring screen. The attachment entries were not being copied when the tool content was duplicated.
The default content id was hardcoded, so it wasn't linking to the default content properly. Replaced hardcoded value with the tag value used by the tool deploy utility.