[Xerte-dev] Re: FW: xot data disappearing

xerte at pgogywebstuff.com xerte at pgogywebstuff.com
Thu May 9 14:27:22 BST 2013


http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/modules/xerte/engine/save.php

here

Well we check the strings are the same length.

The PHP echoes, but that isn't much use to the flash. However, when it
was written, the mantra was "code for success" :)

----- Original Message -----
From: "For Xerte technical developers" 
To:"For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)"

Cc:
Sent:Thu, 9 May 2013 13:49:00 +0100
Subject:[Xerte-dev] FW: xot data disappearing

	Where do we do the checking for valid data? It must be server side
because I can’t see any mention of it in the wizard?

	 

	FROM: Tenney Julian 
SENT: 09 May 2013 11:48
TO: 'Xerte discussion list'
SUBJECT: RE: xot data disappearing

	 

	Hi,

	 

	This is always bad news. Happily it doesn’t seem to be happening
often. From time to time it happens here as well, and almost every
time it is because people are pasting in text from MSOffice or
elsewhere that carries unseen formatting that breaks the XML, as much
as we try and protect it. There is better error handling code in there
now than the early days so if you upgrade it may improve – of
course, if it’s a rare occurrence, it’s hard to tell.

	 

	We do test to see if the xml is well formed, and prevent it being
saved if it isn’t, but I think from time to time things do slip
though, and when this happens no one can tell us exactly what they
were doing when it broke. We hear ‘well, I, er, dunno, but it was
working one minute, and not the next… pardon? Paste form word, no, I
don’t think so, er, shouldn’t I do that then, oh, I didn’t know
that…’ etc, so it’s hard to replicate things and prevent them
happening again.

	 

	If it happens, the first thing to look at is whether data and
preview.xml files are the same. If they are, there’s probably not
much you can do about it, but try and see if the xml file contains
more info than they are seeing in the editor. If so, some of it might
be able to be rescued. 

	 

	If they are different, you can restore to the last good published
place. If you can catch a real example I’d love to see it, because
this is about the worst thing that can happen, and it shouldn’t be
possible.

	 

	Julian

	 

	 

	 

	 

	 

	FROM: xerte-bounces at lists.nottingham.ac.uk [1]
[mailto:xerte-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF
Loughlin, Colin
SENT: 09 May 2013 10:06
TO: 'Xerte discussion list'
SUBJECT: [Xerte] xot data disappearing

	 

	Hi – apologies if this has already been covered, but I have now had
several incidents of data disappearing from Xerte objects and wondered
if this was a known problem, and/or what the solutions might be.

	 

	It happens infrequently (4/5 times over the last two versions that we
have had installed during the last couple of years), we’re currently
on version 1.7.

	 

	I think what happens is that data gets corrupted/lost during the
saving process. For example the most recent case the LO was about 40
pages and was saved normally, but when we went to open it again it
contained only 29 pages.

	 

	Thanks, 

	COLIN LOUGHLIN 

	CMALT FHEA

	Kingston University

	 

	 

This email has been scanned for all viruses by the MessageLabs Email
Security System.

	 

Links:
------
[1] mailto:xerte-bounces at lists.nottingham.ac.uk
[2] mailto:xerte-bounces at lists.nottingham.ac.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20130509/1b855031/attachment.html>


More information about the Xerte-dev mailing list