Page 1 of 1

Uncaught Error: c15r: undefined attribute - value

Posted: Wed Apr 01, 2015 5:55 am
by GregMc

I am receiving the following error in my app "Uncaught Error: c15r: undefined attribute - value" It is occurring at some point in a data service I am calling. As you can see from the error stack below the exception is being triggered in the mapping-impl.js file.

I have spent 2 days trying to figure out this error on my own and got nowhere. Can you please help look in to this error?

Uncaught Error: c15r: undefined attribute - valuecomponent-manager.js:1568 (anonymous function)mapping-impl.js:700 window.uihandler.UIHandler.setmapping-impl.js:713 window.uihandler.UIHandler.setmapping-impl.js:90 window.entry.Entry.setValuemapping-impl.js:196 window.mapping_unit.MappingUnit.processMappingsmapping-impl.js:127 window.mapping_unit.MappingUnit.processmapping-impl.js:10 processMappingActionSplashPage.js:6211 QuestionPageAmount_js.window.local_challenge_question_service_amount.Apperyio.datasources.local_challenge_question_service_amount.Apperyio.DataSource.onSuccessappery.js:361 Apperyio.DataSource.$a.createClass.__successHandlerjquery-2.1.1.js:513 jQuery.extend.proxy.proxylocal_challenge_question.js:16 Appery.local_challenge_question.Appery.createClass.processappery.js:296 Apperyio.DataSource.$a.createClass.executeft_proto_client_lib.js:364 exit_question_pageSplashPage.js:6972 QuestionPageMultiSingle_js.$.off.on.clickjquery-2.1.1.js:4409 jQuery.event.dispatchjquery-2.1.1.js:4095 jQuery.event.add.elemData.handle


Uncaught Error: c15r: undefined attribute - value

Posted: Wed Apr 01, 2015 6:09 am
by Egor Kotov6832188

Hello Greg,

This problem occurs when you don't let your mapping to finish it work, by doing another action lake page navigation or layout changing.
Make sure service mapping finished before letting user navigate to different page or changing structure of the page.


Uncaught Error: c15r: undefined attribute - value

Posted: Wed Apr 01, 2015 6:39 am
by GregMc

Hi Egor, I thought it might be something like that so I moved all the javacript that happens for the service in to the on complete handler. There is no javascript in the mappings handlers. Since I have moved all the javascript to the on complete handler shouldn't the mappings be done before the on complete handlers begin?

If not how can I assure the mappings are complete before calling other javascript.


Uncaught Error: c15r: undefined attribute - value

Posted: Wed Apr 01, 2015 6:42 am
by GregMc

Sorry, to be a little more clear the mappings are done in the on success handler and no javascript is called there. I have placed all other javascript in the on complete handler.


Uncaught Error: c15r: undefined attribute - value

Posted: Wed Apr 01, 2015 7:17 am
by GregMc

It is late here and it now appears the Appery site is down again and I need to go to sleep. If you need to look at the app I have shared it with support. Project name is ft_proto.
To reproduce do the following:

  1. click on Challenge topics button

  2. On Categories page expand Entertainment collapsible and select TV-reality shows

  3. On Challenges page click first selection in the list

  4. On the first question page click Next

  5. On the second question page click Next

  6. At this point errors will be seen in console

    If I am not calling my javascript until the on complete handler I don't see how my code can be interfering with mappings.


Uncaught Error: c15r: undefined attribute - value

Posted: Wed Apr 01, 2015 7:21 am
by GregMc

I can now access the site again, app is shared with support. Egor could you please take a look?


Uncaught Error: c15r: undefined attribute - value

Posted: Wed Apr 01, 2015 8:18 am
by Egor Kotov6832188

Greg,

I found your mistake.
On QuestionAmount page you are trying to map array to slider component, which is wrong.
http://gyazo.com/3105ddc6aefd82282a40...