Page 1 of 1

I'm randomly getting undefined results. Any fix ? or it's not random ?

Posted: Mon Jul 21, 2014 8:34 pm
by Arjun Komath

The startscreen seems to work fine, I get results almost everytime. (http://m.findmyboat.in/startScreen.html), but the next page, shows undefined results sometimes.


I'm randomly getting undefined results. Any fix ? or it's not random ?

Posted: Mon Jul 21, 2014 8:57 pm
by Evgene Karachevtsev

Hello Arjun,

Please give us step-by-step instruction so we can reproduce this issue


I'm randomly getting undefined results. Any fix ? or it's not random ?

Posted: Tue Jul 22, 2014 11:53 am
by Arjun Komath

Go to http://m.findmyboat.in/, and the click on any of the linked items. And sometimes it loads fine and sometimes it will show 'undefined' in the fields.


I'm randomly getting undefined results. Any fix ? or it's not random ?

Posted: Tue Jul 22, 2014 2:45 pm
by Evgene Karachevtsev

Hello Arjun,

It looks like everything is works. Could you please clarify this error POPs up when you open the same entry, or different?

  • if different (i.e. for some data - everything is OK, but for others - undefined), it can be filled not all fields in the database for a particular entry.
  • if same, then please look for errors in the console.

I'm randomly getting undefined results. Any fix ? or it's not random ?

Posted: Tue Jul 22, 2014 2:56 pm
by Arjun Komath

It seem pretty random. Is it possible to show a loading spinner until the rest service is complete?? That could solve the issue.


I'm randomly getting undefined results. Any fix ? or it's not random ?

Posted: Wed Jul 23, 2014 1:57 am
by Yurii Orishchuk

Hi Arjun,

I've checked your app.

You use some external API to get item by ID "http://findmyboat.in/m/result.php"

And here is results of your problem:

1 When page works correctly you have following request(with correct "id" request parameter).

See details: http://prntscr.com/45e59k/direct

2 When you have "undefined" you have not passed this "id" request parameter.

See details: http://prntscr.com/45e64v/direct

Thus you need to fix this problem(always correctly pass "id" parameter) to get your detailed page work.

Regards.


I'm randomly getting undefined results. Any fix ? or it's not random ?

Posted: Wed Jul 23, 2014 11:20 am
by Arjun Komath

Okay. I Check this. Thank you.