[Xerte-dev] Re: FW: Further Xerte Data Loss

Smith, John J.J.Smith at gcu.ac.uk
Mon May 12 12:50:37 BST 2014


I'd investigate whether this line is actually doing what it is supposed to...

https://github.com/thexerteproject/xerteonlinetoolkits/blob/develop/modules/xerte/engine/save.php#L36

Though not sure whether a break in the upload would still allow save.php to complete...

We could try to rebuild the XML in save and validate that it is ok? and ends with </learningObject>

Regards,

John Smith | Learning Technologist
Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University
Cowcaddens Road | Glasgow | G4 0BA

Please address ALL support requests to hlsblt at gcu.ac.uk where one of the School Learning Technologists will pick up the job. This will ensure that all jobs are completed as promptly as possible.
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk]
Sent: 12 May 2014 12:41
To: For Xerte technical developers
Subject: [Xerte-dev] Re: FW: Further Xerte Data Loss

What beats me is why the file should break halfway through a tag name.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 12 May 2014 12:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: FW: Further Xerte Data Loss

Is it possible that it's a unicode ` character?


I've seen a number of UTF-8 related issues with the data.xml etc files.

David.


On 12/05/14 12:35, Julian Tenney wrote:
> They are about things like < > ", but I would have thought ' would be OK?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Dave
> Burnett
> *Sent:* 12 May 2014 12:34
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: FW: Further Xerte Data Loss
>
> Not positive, but I thought attributes were picky.
>
> ----------------------------------------------------------------------
> --
>
> From: Julian.Tenney at nottingham.ac.uk
> <mailto:Julian.Tenney at nottingham.ac.uk>
> To: xerte-dev at lists.nottingham.ac.uk
> <mailto:xerte-dev at lists.nottingham.ac.uk>
> Date: Mon, 12 May 2014 12:20:39 +0100
> Subject: [Xerte-dev] Re: FW: Further Xerte Data Loss
>
> Apostrophes should be OK in either CDATA or in an xml attribute, yes?
>
> *From:*xerte-dev-bounces at lists.nottingham.ac.uk
> <mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Dave
> Burnett
> *Sent:* 12 May 2014 12:15
> *To:* For Xerte technical developers
> *Subject:* [Xerte-dev] Re: FW: Further Xerte Data Loss
>
>>after I included a further sub-menu connector
>
> I take it the connectors have names?
>
> Wonder if apostrophes are escaped.
>
> ----------------------------------------------------------------------
> --
>
> From: Julian.Tenney at nottingham.ac.uk
> <mailto:Julian.Tenney at nottingham.ac.uk>
> To: xerte-dev at lists.nottingham.ac.uk
> <mailto:xerte-dev at lists.nottingham.ac.uk>
> Date: Mon, 12 May 2014 12:08:26 +0100
> Subject: [Xerte-dev] FW: Further Xerte Data Loss
>
> I guys, I need to get to the bottom of this issue: I have a fairly
> advanced user who has been periodically losing data: the email below
> explains the problem. A couple of weeks ago it happened and we lost 40
> slides, now it has happened again. In the file I looked at, the broken
> file ended with the characters
>
> <cMen
>
> i.e. an incomplete tag, which I believe should be <cMenuConnector
> params="etc">
>
> Does this ring any bells with anyone? Anyone experienced it before
> elsewhere? I don't think the menu connectors are used much, which is
> why we haven't come across it before?
>
> I have a feeling it is something to do with escaping characters as
> data is being saved, or as it is being read back to the editor. Anyone
> have any other bright ideas how we can troubleshoot it? See below...
>
> Thanks a lot,
>
> Julian
>
> I've experienced further data loss again this morning, this time on a
> completely different Xerte project
> (http://www.nottingham.ac.uk/toolkits/play_10189).
>
> I initially produced this resource using the Flash Xerte engine, but
> the academic I'm working with was keen for me to transfer the data
> over into HTML5. I made a direct duplicate copy of the Flash project,
> ticked the
> HTML5 engine and then set about reproducing the slides - no problem.
>
> Everything was absolutely fine (after working on the project for most
> of
> Friday) until around 10:30am this morning, when I lost around 10-15
> slides (including my review quiz with 20 MCQs). I'm now beginning to
> strongly suspect that the Xerte Menu Connector templates might be
> having something to do with this persistent problem?
>
> I have been using multiple connector menus in both my Grasslands and
> Meat Science packages. In both I have a dominant 'Main Menu' at the
> start, which then 'connects' via tabs to several sub-menus (of the
> same Connector template type) dotted throughout the resource. In each
> of the sub-menus I link back to the Main Menu.
>
> My last actions before the slides were lost today, happened after I
> included a further sub-menu connector (at around slide 70) and then
> linked this to this from the 'Main Menu' (slide 2) via the drop-down
> selector menu. I then published the changes.
>
> With that being said, I've attempted to recreate the problem using a
> dummy file, but I have so far failed to do it.
>
>
> 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
> <mailto: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
> <mailto: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
>

--
Pale Purple Ltd

PHP Web application development and support

http://www.palepurple.co.uk
@PalePurpleLtd
07792 380669 / 0845 0046746

_______________________________________________
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.




Glasgow Caledonian University is a registered Scottish charity, number SC021474



More information about the Xerte-dev mailing list