Problem when samigo parse the numeric responses and we have another bracket at the html of the question.
GENERAL
TESTING
GENERAL
TESTING
Description
is related to
Activity
Show:

Hui Tsao September 1, 2010 at 11:13 AM
Jasmine,
Please also do regression tests on Fill In The Blank and Numeric question types. Thanks.

Hui Tsao September 1, 2010 at 11:12 AM
commit -m "SAM-902" /opt/sakai_trunk/sam/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ItemAddListener.java /opt/sakai_trunk/sam/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/delivery/DeliveryActionListener.java
Sending opt/sakai_trunk/sam/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/author/ItemAddListener.java
Sending opt/sakai_trunk/sam/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/delivery/DeliveryActionListener.java
Transmitting file data ...
Committed revision 82046.
When we include an image that contains brackets on the tags (as in the title or the alt tag). When samigo parses the texto to get the numeric response there is an error, because the tags are also parsed.
This happens when we have an code like this:
{120}
<br />
<img align="absmiddle" title="\f[\sum{3pi}\f] " style="display: block; margin: 0pt auto; background-color: rgb(255, 255, 221); cursor: default;" src="http://www.codecogs.com/png.latex?%5Csum%7B3%5Cpi%7D" alt="\f[\sum{3pi}\f] " />
{1}
We get this:
Answer Key: 120, 3pi, 3pi, 1