[Building Sakai] [DATA LOSS] 2.9 DAV MOVE zeroes out files?!

David Adams da1 at vt.edu
Wed May 22 11:30:43 PDT 2013


https://jira.sakaiproject.org/browse/SAK-23639

I'll be adding reproduction instructions to that JIRA. FWIW, the
database lists a new filename after the MOVE operation. The new file
is zero bytes. The old file is deleted.
David Adams
Director, Systems Integration and Support
Virginia Tech Learning Technologies


On Wed, May 22, 2013 at 11:58 AM, Aaron Zeckoski <azeckoski at unicon.net> wrote:
> If you can reproduce it against stock 2.9.1 then I think you probably
> should create a JIRA for it. It sounds like it might be a 2.9.2
> release blocker if it actually results in data loss. Can you check and
> see if the files are overwritten or just that the old ones are not
> actually moving and the new ones are empty?
>
> -AZ
>
>
> On Wed, May 22, 2013 at 12:50 PM, David Adams <da1 at vt.edu> wrote:
>> Hey everyone,
>> We just today discovered that MOVE commands to the DAV server in Sakai
>> 2.9.1 are resulting in blanked out files, ie, zero bytes, content
>> lost. This includes files that are renamed and as a side effect, any
>> files edited and saved with Office or any other tool that writes files
>> to a separate location and then MOVEs them to the new place.
>>
>> Our production code is moderately tweaked (though not the DAV tool in
>> particular) and we run on Oracle, so I checked this out using the
>> binary 2.9.1 download against a MySQL database and I can duplicate the
>> issue easily. Just create a new text file in your workspace resources
>> tool using the UI. Then mount your workspace resources on your PC
>> using Webdrive for Windows or whatever works for you. Open the file
>> and you can see the contents fine. Rename the file from Windows
>> Explorer and that will work fine (and Webdrive for me caches the file
>> contents), but when you reload the Resources tool in the UI, you'll
>> see the file is zero byte and opening it will reveal there is no
>> content.
>>
>> I'm not seeing this issue in a community JIRA. Has anyone else run
>> into this, or can anyone also on 2.9 confirm that this is *not*
>> happening to them, and that then there is something wrong with our
>> config? Thanks.
>>
>> David Adams
>> Director, Systems Integration and Support
>> Virginia Tech Learning Technologies
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
>
> --
> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile


More information about the sakai-dev mailing list