Bug #4863
closedAssessments saved on the server and opened on a non-local machine do not display images
0%
Description
Assessments that are created and saved on to the network using Morpho
and later reopened on the same machine as the one used for creating it,
by the same user, display the assessment items, corresponding images,
and the original document, correctly. But, when a different machine
is used or when a different user tries to open the same assessment,
all the images (irrespective of if they are in the foils or not)
go missing!
The XML documents corresponding to the assessment items do seem to
have valid Ecogrid URIs. Ideally, the Morpho interface should be able
to access the image from the server and display it in conjunction to
the local copy of the XML document. So, why doesn't this happen?
Updated by ben leinfelder almost 15 years ago
do you see those image files in the local store like:
~/.first/profiles/<profile>/data/<profile>/1.1
you may have to run:
File->Synchronize
before they are downloaded locally
Updated by ben leinfelder almost 15 years ago
actually i don't see any code that would download the images for the QTI packages...so this may have never worked
Updated by Sandeep Namilikonda almost 15 years ago
(In reply to comment #1)
No. I do not see any image files in the folders similar to what you pointed
out.
I do see a "summary" file (named 4.4) that tells about the various items
and then I see the individual item files with a few that have an image URI
in them, for example,
<matimage imagtype="image/1" uri="ecogrid://knb/JHwan.522.1"> </matimage>
And, Yes, I do synchronize before I download locally.
actually i don't see any code that would download the images for the QTI
packages...so this may have never worked
Updated by ben leinfelder almost 15 years ago
i've added code to look up image ids and also download them when performing the synchronize.
Updated by ben leinfelder almost 15 years ago
changed the download method to use InputStream for the binary image data.
verified that it works with this doc on the EGR server:
namilikonda.641.3