[Building Sakai] Problems exporting and importing assessments

Raul Sanchez Vegas raulsv at um.es
Mon Feb 20 06:32:57 PST 2012


El 18/02/2012 0:12, Karen Tsao escribió:
> Hi Raul,
>
>     I've attached to this e-mail one exported assessment which import
>     doesn't work. I've tested it in the next 2.9 QA Servers Instances:
>     http://qa3-us.sakaiproject.org:8086/portal and
>     https://sakai-29.rutgers.edu/portal and it doesn't work either.
>
> The problem occurs during export. If the zip doesn't contain the 
> attachment, you won't import it successfully in any other instances 
> either.
>
>     The question text of this assessment is /
>
>     "Question text  with an image reference: <img width="200"
>     height="150"
>     src="ttps://aulavirtual.um.es/access/content/group/PRUEBA_SITIO_ASIG_GRADO%2B/Nen%C3%BAfares.JPG"
>     <https://aulavirtual.um.es/access/content/group/PRUEBA_SITIO_ASIG_GRADO%2B/Nen%C3%BAfares.JPG>
>     alt="" />" /
>
>
> Can you please double check if the image exists in your instance (ie, 
> can you see that image in the assessment)?

Yes, this image exists in our instance and in the assessment too.

> I have tried with a valid image and I can successfully export and 
> import the assessment. Do all this type of assessments fail during 
> export/import or just this specific one? Can you try with some other 
> images?
>

I've done a lot of tests with export/import actions and I've found out that:

- If the question text has an image reference which source has blanks, 
the character '+' or accents marks(ie á, é, í)  like
/'src="http://qa3-us.sakaiproject.org:8086/access/content/group/35a5953b-18ce-4f14-9475-f094c4258503/Nen%C3%BAfares%20prueba%2B2.JPG" 
style="width: 200px; height: 150px;" />'/  it fails when we try to 
import it.

To show this I've attached "qa3-imageFail.zip" which it has been tested 
on http://qa3-us.sakaiproject.org:8086/portal  and 
"rutgers-imageFail.zip" which it has been tested on 
https://sakai-29.rutgers.edu/portal.

- If the question text has a non-image reference it fails when we try to 
import it. To show this I've attached "qa3-referenceFail.zip" which it 
has been tested on http://qa3-us.sakaiproject.org:8086/portal  and 
"rutgers-referenceFail.zip" which it has been tested on 
https://sakai-29.rutgers.edu/portal.

I've attached the image "Nenúfares prueba+2.JPG" and the file 
"dat1_1.sav" which we have used to do the tests.


>>
>>         Second bug:
>>
>>         - The instructor creates a new assessment.
>>         - The instructor creates the first assessment's question with
>>         an attachment.
>>         - The instructor exports the assessment using the QTI option.
>>         - The instructor imports the assessment and it works fine but the
>>         assessment's question doesn't have its attachment. The
>>         question has lost
>>         its attachment.
>>
>>     This is the expected behavior.  If your assessment contains
>>     attachments, please use Content Package. If you think the
>>     instruction is not clear enough, please feel free to log a JIRA
>>     and we will see if we can add more instruction.
>>
>     Thank you for your explanation. Yes, we think that the QTI Export
>     Option should have more instructions. I've created a new JIRA on
>     https://jira.sakaiproject.org/browse/SAM-1599.
>
>
> After further thinking, I recall we actually have some message on the 
> export page:
>
> */If your assessment contains any attached files or uses HTML tags to 
> reference external resources, you should use the Content Packaging 
> option./*
>
> It was added in https://jira.sakaiproject.org/browse/SAM-770 in 2.8. 
> Can I know what Samigo version you use?
>
> Thanks,
> Karen
>

We have Samigo 2.7.5 and Sakai 2.7.2, so we haven't seen this message. 
We think this message is detailed enough to understand that If you want 
export a question with attachments you should use the Content Packaging 
option. So this JIRA could be resolved.

Thanks,
Raúl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/6bd02585/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qa3-imageFail.zip
Type: application/x-zip-compressed
Size: 3566 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/6bd02585/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qa3-referenceFail.zip
Type: application/x-zip-compressed
Size: 3533 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/6bd02585/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rutgers-imageFail.zip
Type: application/x-zip-compressed
Size: 3535 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/6bd02585/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rutgers-referenceFail.zip
Type: application/x-zip-compressed
Size: 3503 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/6bd02585/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dat1_1.sav
Type: application/octet-stream
Size: 617 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/6bd02585/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Nen?fares prueba+2.JPG
Type: image/jpeg
Size: 83794 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120220/6bd02585/attachment.jpe 


More information about the sakai-dev mailing list