[Xerte-dev] Re: Export / Import
Ron Mitchell
ronm at mitchellmedia.co.uk
Wed Jul 25 08:33:39 BST 2012
The updated files are in place on the test server.
As far as I can see export works fine.
Import of an exported LO works fine too.
Import of a zip which has a parent folder in the root now results in: The
files in your zip folder need to be in the main folder, not within another
folder in the zip.
Is there something specific you need testing with Safari?
BTW I couldn't find a solution to the change ownership issue so that still
exists. As far as I can tell the value going into templaterights is the
users id rather than the users root folder id - I think.
-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 24 July 2012 23:07
To: For Xerte technical developers
Subject: [Xerte-dev] Export / Import
Been stuck for a while trying to debug export and i think with previous
changes it's gone a bit wrong
1) If you export a non published / synched via publish project, then you
can't import it - it says it has imported but it seems export now renames
data.xml to template.xml, and from the look of the importer, it relies on
template.xml - so it copies data over the top of and therefore wipes out
preview.xml (even if preview is what you want).
2) this doesn't throw any errors
So i've hacked import around to make sure preview.xml is copied over and
maintained
It seems to work (after 3 hours, 3 fricking hours)
I've also fixed the folder problem
I also removed the hash from the import src as this caused a problem in
chrome as well (the thing no one has tested in safari).
So we need to cycle import and export through tests and deliberate folder
level stuff
Pat
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and
may contain confidential information. If you have received this message in
error, please send it back to me, and immediately delete it. Please do not
use, copy or disclose the information contained in this message or in any
attachment. Any views or opinions expressed by the author of this email do
not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
More information about the Xerte-dev
mailing list