Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Some services not working when switching to library 2.1

Hello,
I am trying to upgrade my app to recent library versions 2.1, but after upgrading some services stopped working. I get this error at the console:

"Attempt to access Array by property name : 'Group'"
Image

After switching back to 1.2 version services work fine.

Steps to reproduce:
1) Open the app.
2) Go to page called "Baza"
3) Expand item called "Grupa"
4) It will not return items as it should.

Item "Grupa" triggers this service: "restservice_Grouplist_query"

To see expected behaviour switch back to version 1.2 or check app under this url http://www.3mamcukier.pl/index.php/3mc

My app is shared with you.

Can you please help me fix the services?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Some services not working when switching to library 2.1

Hi Adam -

Please tell us your app name.

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

Some services not working when switching to library 2.1

Hello Adam,

We managed to reproduce this issue and working on it. We'll get back to you with the update.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Some services not working when switching to library 2.1

Hello,

1) You have bad request error, seems request is not correct. Please show us settings, request, response parameters screen shots.
2) You have error in your code second line.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Some services not working when switching to library 2.1

Hello Alena,
I am afraid I do not exactly follow your response so I will repeat what the problem is:

1) Service fails only if I swith Appery project libraries from version 1.2 to 2.1. Otherwise services work fine and the app designed with 1.2 lib version is in AppStore. As I understand, services should work fine regardless of lib version.
2) What error? In which code?

Furthermore, you ask for settings, request and screenshots - don't you guys have access to my app? I have shared it with you, it is all there, no nedd to take screenshots.
Finally as I understand Evgene's answer you were able to reproduce the issue and you try to fix it, but after your post - sorry I am lost, so please make sure we talk about the same thing.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Some services not working when switching to library 2.1

Hello Appery,
It has been the week since I reported the issue. Any chance it will be solved?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Some services not working when switching to library 2.1

Hello Adam,

Sorry for delayed reply.

1) First error in the console gives us reason to say, that you use service not properly, by that we meant that parameters or settings for this request are wrong or empty.

2) Evgene meant that we reproduced your problem, thus is not only on your device, but we do not debugging or writing custom code, cause it is outside of the support scope http://devcenter.appery.io/support-po....

3) We have your app shared, but unfortunately we don't have so many human resources to look inside each application and search for a problem user described, that is why we are kindly asking you to make screenshots, so we can save time there and spend it answering technical questions instead debugging.

4) As we said your problem was in parameters
http://gyazo.com/fb9e1a220f9acd9f57ba...

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Some services not working when switching to library 2.1

Well, thats fair enough. Please find the information below:

Mapping (before send):

Image

Mapping (succesful event):

Image

On the mapping presented above you have got two custom scripts which are as follows:

Image

Image

Here you can find service settings:

Image

and here service request parameters:

Image

Image

and here you can see service response parameters:

Image

Please let me know if you need anything else.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Some services not working when switching to library 2.1

Adam,

Have you checked Session Token?

Return to “Issues”