Page 5 of 5

put service

Posted: Mon Oct 28, 2013 11:49 pm
by Igor

I mean username and password for star_login_service. I'll use them to get X-Appery-Session-Token for testing currentorderService.


put service

Posted: Mon Oct 28, 2013 11:58 pm
by Michael4771079

OK Igor,
from login screen "z" for both.

thx


put service

Posted: Tue Oct 29, 2013 2:27 am
by Igor

On "Vegetarian_Pizza"-Data tab-currentorderervice-Edit Mapping-Request tab-currentorder-Edit JS. Replase code:
pre
return JSON.parse(localStorage.getItem("liveorderArray"));
/pre

to the next one
pre
return JSON.parse(value);
/pre

Image


put service

Posted: Tue Oct 29, 2013 2:47 am
by Michael4771079

Thank you Igor,
that works, but what I don't understand is, I have an array in another app which puts an array into a users db, it works fine, but it uses the js I have just replaced, yet this service would not accept it, even though they are setup in the same way.

anyway thank you for your time


put service

Posted: Tue Oct 29, 2013 3:36 am
by Michael4771079

Spoke too soon,
no services are working now, login fails navs to register, when app is opened with menu as start page, click pizzas and click vegetarian pizza, sevrice to call menu fails, strangely no errors in console, s/s below.
however it very late here and enough is enough,
I did not expect this service to cause so must trouble and time, as I have a simular service in another app that works.(with the js we deleted)

this js does not seem to be the solution, although in fairness to you Igor I know you have spent some time with me on this and found issues that weren't apparent to others,
I still need a solution, it cant be that difficult to put an array in the db, but if you guys can't, theres no hope for me

regards


put service

Posted: Tue Oct 29, 2013 3:37 am
by Michael4771079

put service

Posted: Tue Oct 29, 2013 3:58 am
by Igor

[quote:]click pizzas and click vegetarian pizza[/quote]
I tested it works for me. This service will not work without valid X-Appery-Session-Token. To get session token you should call login service. If you don't want to use login page you need to call login service on menu page and set username and password on "star_login_service" properties.


put service

Posted: Tue Oct 29, 2013 4:09 am
by Michael4771079

I know Igor, I am login in, its failing, but its intermittent, are there any db issues like at the weekend


put service

Posted: Tue Oct 29, 2013 4:25 am
by Igor

All works without issues. Can you attach screen shot?


put service

Posted: Tue Oct 29, 2013 4:32 am
by Michael4771079

thats the strange thing,
there are no errors, its just like the screen above, nothing appears, so I close that tab in the browser, hit test again and login works as does all services, dont understand, maybe I am looking too long, i am going to rest and see what tomorrow brings

thanks for all your help, with any luck we wont need to speak on this one again.
cheers