Project

General

Profile

Actions

Bug #4863

closed

Assessments saved on the server and opened on a non-local machine do not display images

Added by Sandeep Namilikonda about 14 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Category:
dataserver
Target version:
Start date:
03/02/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4863

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?

Actions #1

Updated by ben leinfelder about 14 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

Actions #2

Updated by ben leinfelder about 14 years ago

actually i don't see any code that would download the images for the QTI packages...so this may have never worked

Actions #3

Updated by Sandeep Namilikonda about 14 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

Actions #4

Updated by ben leinfelder about 14 years ago

i've added code to look up image ids and also download them when performing the synchronize.

Actions #5

Updated by ben leinfelder about 14 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

Actions #6

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 4863

Actions

Also available in: Atom PDF