[Testing] Journal copies file from external media to datastore before opening

Thomas C Gilliard satellit at bendbroadband.com
Sun Jun 26 09:49:25 EDT 2011



Sridhar Dhanapalan wrote:
> I have identified a bug that I think is a duplicate of SL#496. Can
> someone please confirm?
>
> I've got this logged at https://dev.laptop.org.au/issues/784
>
>
> The journal does not open or save directly from/to external media. If,
> say, a USB drive is used, the file is copied to the datastore before
> being opened. Changes are written to the version in the datastore and
> not to the version on the external media.
>
> Read test
>
> To reproduce:
>     on another computer, copy some files (I used JPEGs) to a USB stick
>     put the stick into an XO
>     in the journal, look at the USB stick
>     click on the file that you copied
>
> Expected behaviour:
>     the associated activity opens
>     the file on the USB stick is opened directly
>
> Actual behaviour:
>     the file is copied to the journal
>     the associated activity opens
>     the file is opened from the journal
>
>   

This also happens in Soas if an application.xo file is clicked on in the 
2nd external USB (or attached external USB CD player)
It is installed; not just run from the source.

> Read/Write test
>
> To reproduce:
>     open Write
>     type some stuff: "AAAA"
>     quit the activity to save
>     insert a USB stick
>     in the journal, drag the Write file to a USB stick
>     open the Write file from the USB stick
>     type more stuff, so that the content is now "AAAABBBB"
>     quit the activity to save
>     open the file again from the journal
>     you'll see that the content is "AAAABBBB"
>     quit the activity
>     open the file again from the USB stick
>     you'll see that the content is "AAAA"
>
> Expected behaviour:
>     the file opened from the USB stick should contain "AAAABBBB"
>
> Actual behaviour:
>     the file opened from the USB stick contains "AAAA"
>
>
>
>
>
> Sridhar Dhanapalan
> Technical Manager
> One Laptop per Child Australia
> M: +61 425 239 701
> E: sridhar at laptop.org.au
> A: G.P.O. Box 731
>      Sydney, NSW 2001
> W: www.laptop.org.au
> _______________________________________________
> Testing mailing list
> Testing at lists.laptop.org
> http://lists.laptop.org/listinfo/testing
>
>   


More information about the Testing mailing list