Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Building a ToDo app pt. 2: offline mode

Hi there

Im trying this tutorial: Building a ToDo app pt. 2: offline mode

Everthing works except when i add the task the "label" show undefined.

See image:
Image

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

Building a ToDo app pt. 2: offline mode

Hello Johnny,

This means, that haven't saved value, or getting from wrong source.

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Building a ToDo app pt. 2: offline mode

cant seem to find the problem. I see the database task value is empty. Went over the steps several times cant find the problem.

Button on click is fine. Database mapping is like tutorial.

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Building a ToDo app pt. 2: offline mode

If I test in browser to check the console I get this:
Uncaught TypeError: Cannot read property 'set' of undefinedstartScreen.js:216 window.list_service.Apperyio.datasources.list_service.Apperyio.DataSource.onSuccessappery.js:361 Apperyio.DataSource.$a.createClass.__successHandlerjquery-2.1.1.js:513 proxyjquery-2.1.1.js:3073 firejquery-2.1.1.js:3185 self.fireWithjquery-2.1.1.js:8251 donejquery-2.1.1.js:8598 send.callback

Then I see this as error also:
"onSuccess": function(data) {
Apperyio.processMappingAction(Apperyio.mappings["startScreen_list_service_onsuccess_mapping_0"]);
Apperyio.storage._echo.set(JSON.stringify(this.data));

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Building a ToDo app pt. 2: offline mode

Can you please help me look?

Johnny7459624
Posts: 0
Joined: Tue Mar 31, 2015 7:49 am

Building a ToDo app pt. 2: offline mode

Please any help... i did go throw the steps again.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Building a ToDo app pt. 2: offline mode

Hello Johnny,

We are sorry, but unfortunately debugging of a custom app is outside the scope of our support. We checked the tutorial - it is correct, perhaps the backup of the app made with this tutorial will help you: https://www.dropbox.com/s/l6q33w5s2kg...

Return to “Issues”