edesiocs / ingatan

Automatically exported from code.google.com/p/ingatan
Other
0 stars 0 forks source link

All images from questions within a library were lost #59

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure how this happened. Images weren't lost from any of the other 10 
libraries created in the same session. Places to hunt for this bug include: 
copying questions from one library to another library, renaming a library.

Images were lost from the flexi question container rich text areas as well as 
self graded answer fields.

When the library XML file was inspected, no img tags were present. No evidence 
that the images were ever serialised to the XML file. This suggests that the 
images were lost during runtime - this supports the idea that it could be from 
copying questions from one library to another. Also look into whether resources 
are correctly copied along with the questions (from lib file to lib file).

Original issue reported on code.google.com by tom.eve...@gmail.com on 30 Mar 2012 at 8:03

GoogleCodeExporter commented 9 years ago
Could be lost during quiz time? This has happened to 3 libraries now, and not 
all questions in a given library are affected (e.g. some flexi questions lose 
images, some don't). Try adding a msg box in the parser if the image file can't 
be found when attempting insert - this will help to debug if the problem is 
that the XML img tag is present but the image ID is wrong.

Original comment by tom.eve...@gmail.com on 2 Apr 2012 at 2:12

GoogleCodeExporter commented 9 years ago
Could be because the image is the only thing inserted in the text area. Could 
be a bug with the markup... so if there was leading/trailing text then the 
image would be preserved?

Just a thought, check it out.

Original comment by tom.eve...@gmail.com on 13 Jun 2012 at 2:22