Page 1 of 2
Service Stopped Working After Upgrade
Posted: Wed Jun 17, 2015 11:19 pm
by Archana Bongale
Hello,
My service has stopped working recently when papery upgraded the platform.
I have a query service which takes one where argument and returns results from database. Apparently if I test the service using "Test" option in service section. It works perfectly. But If I start to use this service in one of the page to pull data using same query, I don't see any results. I am sure that the query and where clause is right and it was working fine but recently it just stopped working. We didn't changed anything in the database schema or any other parameters.
How can you help to resolve this issue?
Service Stopped Working After Upgrade
Posted: Thu Jun 18, 2015 10:32 am
by Illya Stepanov
Hi Archana -
If you're testing in the browser, please check in the developer tools console are there any errors? Also you can check the service invocation in the network tab with full response details, here is how to do it: https://devcenter.appery.io/documenta...
Service Stopped Working After Upgrade
Posted: Thu Jun 18, 2015 9:09 pm
by Archana Bongale
We are getting service response as [{"count":1}]
We are getting following exception:
User transformation function exception. Reason: Cannot read property 'split' of undefinedwindow.transformation.Transformation.transform @ mapping-impl.js:52window.uihandler.UIHandler.set @ mapping-impl.js:691window.uihandler.UIHandler.set @ mapping-impl.js:713window.entry.Entry.setValue @ mapping-impl.js:90window.mapping_unit.MappingUnit.processMappings @ mapping-impl.js:196window.mapping_unit.MappingUnit.process @ mapping-impl.js:127processMappingAction @ mapping-impl.js:10Profile_js.window.getEventsForUser.Apperyio.datasources.getEventsForUser.Apperyio.DataSource.onSuccess @ VM938:771Apperyio.DataSource.$a.createClass.successHandler @ appery.js:361proxy @ jquery-1.9.1.js:818fire @ jquery-1.9.1.js:1037self.fireWith @ jquery-1.9.1.js:1148done @ jquery-1.9.1.js:8074callback @ jquery-1.9.1.js:8598
Service Stopped Working After Upgrade
Posted: Sat Jun 20, 2015 12:16 am
by Illya Stepanov
Is this old project or a new one?
Please provide us with app public link or share it with us and specify its name and exact steps how we can reproduce this error.
Service Stopped Working After Upgrade
Posted: Sat Jun 20, 2015 5:06 am
by Archana Bongale
It is an old project. I shared the app with support. Please check app titled "Manava"
Username: mv20 password: Abc123
You can reproduce it using following steps:
1) Go to profile page. Click login with email address .Login using above credentials
2) You will see Nearby page. Click on Profile Tab at the bottom
3) My Events should display events registered by the user. Service to get events is not getting executed.
Service Stopped Working After Upgrade
Posted: Sat Jun 20, 2015 7:06 pm
by Alena Prykhodko
Hello,
Sorry, but it's not clear.
Please send us screen shot of service invocation in the network tab with full response details, here is how to do it: https://devcenter.appery.io/documenta...
Service Stopped Working After Upgrade
Posted: Sat Jun 20, 2015 7:47 pm
by Archana Bongale
Service Stopped Working After Upgrade
Posted: Tue Jun 23, 2015 6:43 am
by Archana Bongale
Is there any update or do you need more information?
Service Stopped Working After Upgrade
Posted: Tue Jun 23, 2015 8:08 am
by Alena Prykhodko
Archana,
Working on it, we'll update the thread as soon as have news here.
Service Stopped Working After Upgrade
Posted: Sat Jun 27, 2015 12:51 pm
by Serhii Kulibaba
Hello Archana,
It looks like you use mapping from (to) an array which is not defined.
Please share (http://devcenter.appery.io/documentat...) your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and provide us with the following information:
1) App name
2) Test credentials if login functionality is implemented in your app
3) Detailed steps to reproduce the issue