No data after MAB update

Posted by Roger Blanchard on 13-Mar-2014 09:26

I have had a working app for months. My latest IPA build was on 3/5/2014 and it works just fine on my iPhone. Since the MAB update I cannot get any data retrieved from the call to the server. I see this in the MAB as well as if I build a new IPA or APK. I know the server is receiving the request and building the response but no data is displayed in the app. 

Is there anything else I need to do to get my apps working?

All Replies

Posted by Shelley Chase on 13-Mar-2014 09:38

Hi Roger,

We added a new Session Service to make connecting to an OE AppServer easier :-)

This *should not* have negatively affected an existing project but it looks like it might have.

Please log a high priority issue with tech support and we will take a look.



Posted by Roger Blanchard on 13-Mar-2014 09:40

Okay, thanks.

Posted by Shelley Chase on 13-Mar-2014 09:42

Also, if you could share your project with me I can take a look and see if I wee something obvious.


Posted by Roger Blanchard on 13-Mar-2014 09:44


Posted by mainroad1 on 14-Mar-2014 13:43

Has anything been learned about what is causing the problem?  I've just tried testing our production app in MAB and found that it's now behaving just as rblanchard described.  It requests data from the AppServer, the AppServer receives the request and replies, the JSDO success event fires and triggers the READ service, the READ success event fires and runs the JavaScript to copy the returned data into localStorage... but when inspected localStorage is blank.

Users are not seeing the problem because the old copy of the app on their phones continues to work.  It is just when I test the app in MAB that I'm seeing this odd behaviour.

I have a new app in development whose code matches the production app (up to the point of failure described above) and it is not experiencing the problem.  So it sounds like something small is just a bit off, but the trick is figuring it out.

Posted by Roger Blanchard on 14-Mar-2014 13:47

PTS has provided a workaround that I am testing. I had to manually modify home.js and fix the responsemapping. FOr example,

I had to change the following from

'responseMapping': [{

           'PATH': ['ttblCashierInfo'],


'responseMapping': [{

           'PATH': ['ttblCashierInfo','ttblCashierInfo'],

Posted by Roberta Miller on 14-Mar-2014 13:50

This problem is still under investigation. Could you please open a support case so we can make sure that your problem is the same one? Thanks!

Posted by mainroad1 on 14-Mar-2014 14:28

Interesting... I have just compared the login.js from the old app that has stopped working with the login.js from the newer working app whose code matches the old app up to the point of failure... and found that the newer working app has a different responseMapping.  The changes are very close to the possible workaround that rblanchard described.

If I copy those changes from the newer login.js into the old login.js the old app starts working.  Well to be truthful it logs in.  The next place where it tries to retrieve data from the AppServer it hangs again and I figure that is another place where the responseMapping needs to be updated.

Maybe it's safe to say I am seeing the same problem as rblanchard.


Posted by Roger Blanchard on 14-Mar-2014 14:35

I had to change in four places and now my app is working again.

Posted by mainroad1 on 14-Mar-2014 15:06

I just finished changing all of the responseMapping lines in login.js of my older app and it now appears to be fully functional.  Thanks for your help rblanchard.  I will open a support call with Progress now to document that I seem to have hit the same problem as you with the MAB update.

Posted by mainroad1 on 14-Mar-2014 16:51

The Progress defect number for this problem is PSC00293663.

Posted by Mike Fechner on 15-Mar-2014 00:24

This thread is closed