[Xerte-dev] Re: workspace = JSON.parse(response);

Ron Mitchell ronm at mitchellmedia.co.uk
Tue Jul 28 21:55:45 BST 2015


This is a bit worrying if we're going to announce tomorrow.

On the same server a clean new install works fine but an upgrade of two different servers results in this issue of no projects showing in the workspace and stopping at the error:

template_management.js, line 656 character 9

workspace = JSON.parse(response);

I'm not sure how to access the value of the response.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 28 July 2015 20:54
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: workspace = JSON.parse(response);

 

Hi Tom

sorry how do I get to the value of the response?

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 28 July 2015 20:32
To: For Xerte technical developers
Subject: [Xerte-dev] Re: workspace = JSON.parse(response);

 

Yes, it means there (still) is an invalid character somewhere.

In the browser, set a breakpoint on that line, copy the value of response, and paste it in one of the many online JSON syntax verification tools, and tell me what it says.

Tom

Ron Mitchell <ronm at mitchellmedia.co.uk> schreef op 28 juli 2015 20:07:52 WEST:

Hi all

I just tested upgrading a copy of a 2.1 installation and I'm seeing the new workspace etc but no projects showing in the workspace.

The console error shows the following:

 

template_management.js, line 656 character 9

workspace = JSON.parse(response);

 

but I'm not sure if that's the cause or just a consequence - any ideas?

Cheers

Ron

 
 
 
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


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

 
 
 
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.
 
 
 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150728/a00ea17e/attachment-0001.html>


More information about the Xerte-dev mailing list