ytrstu / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

vosao 0.7: JavaScript error when trying to edit new page #315

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new page
2. Try to edit it

JavaScript error full text:

message r.list[0] is undefined
fileName    http://domain.appspot.com/static/js/cms/page/index.js
lineNumber  369
stack   loadContents()@http://domain.appspot.com/static/js/cms/page/index.js:369
loadPage()@http://domain.appspot.com/static/js/cms/page/index.js:98
([object Object])@http://domain.appspot.com/static/js/cms/page/index.js:69
([object 
Object],null,false)@http://domain.appspot.com/static/js/back-services.js:44
(-8)@http://domain.appspot.com/static/js/jsonrpc.js:1

name    TypeError

Possibly related to adding a new language and removing the default language..?

Original issue reported on code.google.com by egon.ni...@gmail.com on 15 Aug 2010 at 11:55

GoogleCodeExporter commented 8 years ago
some more info, (prompt text in Chrome is a bit different - unfortunately 
Chrome does not allow copy/paste of that full text):
Cannot read property 'languageCode' of undefined
at loadContents (index.js:369:31) at loadPage

Original comment by egon.ni...@gmail.com on 15 Aug 2010 at 12:08

GoogleCodeExporter commented 8 years ago
adding back English as a second language solves this issue.

I must say I'd rather be able to just use 1 language and always have this be 
the default for new content.

Original comment by egon.ni...@gmail.com on 15 Aug 2010 at 12:13

GoogleCodeExporter commented 8 years ago
Issue created to allow selecting default language other then English. issue 321

Original comment by kinyelo@gmail.com on 21 Aug 2010 at 5:17