[Xerte-dev] Re: Export / Import

Julian Tenney Julian.Tenney at nottingham.ac.uk
Thu Jul 26 13:47:56 BST 2012


OK

-----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: 26 July 2012 13:12
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Export / Import

The problem with posting file data via Ajax is that it is a bit dirty.
So for the file upload there is an empty 0 pixel iframe in the page.
All of the feedback is returned to the iframe, and a setInterval
watches the iframe for a text response.

For some reason in Chrome and Safari src="#" loads the page your are
on already, so when the code checks for a response, it already sees a
response and replies with the entire page (Simon from Cardiff's
problem).

But that problem didn't occur in IE or FF (or opera) - so I don't know
if the src="#" had some mythical properties, or if src="" leads to
browsers being confused. It might even be a https issue.

So I would test it in everything / and on XAMPP

On Thu, Jul 26, 2012 at 12:57 PM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk> wrote:
> You mean IE and FF on a Mac? Or generally?
>
> -----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: 26 July 2012 09:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: Export / Import
>
> I think the latest change will work on a mac though (as I changed a
> 1.7 install and it worked), I'm worried if it breaks IE and FF
>
> Also not sure the techdis site is up to date with the SVN?
>
> On Thu, Jul 26, 2012 at 8:48 AM, Inge Donkervoort 12Change
> <i.donkervoort at 12change.eu> wrote:
>> Hi,
>>
>> We have a Mac and Safari. Do you want us to test it?
>> If so, can you send me the link to the XOT installation on the Techdis
>> server?
>> And the things you like us to test?
>>
>>
>>
>> Bye,
>> Inge
>>
>> 1 2 Change
>> Chopinlaan 27
>> 5242 HM Rosmalen
>> T 073-5226195
>> F 073-5226196
>> E i.donkervoort at 12change.eu
>> I www.12change.eu
>>
>> T twitter
>> L linkedIn
>>
>> Op 25-7-2012 12:37, Pat Lockley schreef:
>>
>> I don't have a mac or safari though, and  I'd mangled a lot of stuff, to the
>> point I felt functionality was almost being changed.
>>
>> This submit was more of a "needs proper testing" than a guaranteed fix.
>>
>> On 25 Jul 2012, at 11:31, Julian Tenney <Julian.Tenney at nottingham.ac.uk>
>> wrote:
>>
>> We need to verify all the bugs we logged when we think we have gold code,
>> but if you can, complete the testing for sake of a another couple of minutes
>> whilst you have the code out, and have found your place in it, because
>> otherwise people don't necessarily pick it up, and things remain untested.
>>
>> -----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: 25 July 2012 10:54
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Export / Import
>>
>> The techdis version should now work with safari, as I made the change
>> anyways to make it work in chrome.
>>
>> This means some one needs to test it in FF and IE
>>
>> and locally
>>
>>
>>
>> On Wed, Jul 25, 2012 at 8:33 AM, Ron Mitchell <ronm at mitchellmedia.co.uk>
>> wrote:
>>
>> 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.
>>
>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>> _______________________________________________
>> 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.
>>
>>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



More information about the Xerte-dev mailing list