LDEV-2143 Vote tool causing heap memory leak. The VoteUsrAttemptDAO class was bringing the entire VoteUsrAttempt table into the memory space, then traversing it programatically which is very un-advisable.I changed the hql queries to only get the rows needed for the processing and the memory leak seems to be at a much more acceptable levelCommitting for head
LDEV-2143 Vote tool causing heap memory leak. The VoteUsrAttemptDAO class was bringing the entire VoteUsrAttempt table into the memory space, then traversing it programatically which is very un-advisable.I changed the hql queries to only get the rows needed for the processing and the memory leak seems to be at a much more acceptable levelCommitting for 2.1.1 branch
LDEV-1669: When requesting the potential number of users, voting was asking using the internal voting id, rather the core's session id. As this was a call to the core, this resulted in the wrong number of users being returned.
LDEV-1612: Tweaking the condition names for OUTPUT_SET_BOOLEAN type definitions, so that Flash can match existing conditions back to their definitions.
LDEV-1594: Learner selection now supports open vote. Also improved the handling of an option that is just an image - now it cuts off any leading path so you can see the filename easily.
LDEV-1594: Improved the HTML stripping so that if only an image in the html, it tries to pull out out the link in the "src" entry and display that only.
LDEV-1594: Added a new flag "showConditionNameOnly". When this is true, Flash will hide the details of the condition (e.g. Range blah to blah). Needed for the default Voting activity as the condition details are meaningless to the user.The question (in the condition text) now has the HTML stripped the same as the legend on the chart, giving some chance of a meaning text if there is other text in the question field.
LDEV-1597: Added new advanced object ShowResults, which controls whether or not the full results are shown. The user can still see their votes in export portfolio and if they return to the voting screen.
LDEV-1578: Export portfolio problems: learner export didn't have the html removed/shortened in the legend and the class export only worked if you had already generated a chart. Both these problems now fixed.
LDEV-1578: Export portfolio problems: learner export didn't have the html removed/shortened in the legend and the class export only worked if you had already generated a chart. Both these problems now fixed.
LDEV-1572: Resize charts to allow larger charts when the legend is large. If it looks like the legend will go over 4 or more lines, then it creates a chart 750x550. I've also increased the size of the small chart to 400 square. Moved some of the common code into a utility class so that our sizing is always consistent.