Skip to Content

Fiori Client on IOS - ODATA "Load cached response" issue

Hello experts!

We have the standard Approve Service Entry Sheets app working properly on the browser and on Android Fiori Client. However, there's a strange behavior when using Fiori Client for IOS (iPhone).

Example of this strange behavior for IOS:

  1. I have 3 pending items on my FLP tile ($count request OK)
  2. Tap on the tile, it shows 3 pending items on Master view (MM_SES_APPROVE_SRV;mo/Workitems?$skip=0... OK)
  3. Tap on one of them. Detail screen shows correct information. Tap on Approve. Detail screen updates to the next pending item (OK)
  4. I tap "Back" to the Master view and it still shows 3 pending items.
  5. I tap "Home" and the $count updated the TILE to show 2 pending items. I tap on the tile again and Master view still shows 3 items. When I scroll down to refresh Master list, it does so immediately (doesn't show signs of latency from the server). After that, it STILL shows 3 pending items.

If I manually clear IOS Fiori Client cache, it goes back to normal until I approve another item. Then it repeats the same strange behavior.

Again: this doesn't happen on Chrome browser neither on Fiori Client for Android.

Changing Fiori Client Log to DEBUG, I've seen this difference between Android and IOS when I scroll down the Master view to refresh the pending items list.

Android LOG:

2017-11-01 11:21:05:021-0200 SMP_CACHE_MANAGER DEBUG Loading from server: https://<SERVER>:<PORT>/sap/opu/odata/sap/ZMM_SES_APPROVE_SRV;mo/Workitems?$skip=0&$top=50&$orderby=CreatedAt%20desc&$inlinecount=allpages&sap-client=200

IOS LOG:

2017-11-01 12:58:35 +0000 GMT-0200 (GMT-2) offset -7200 SMP_AUTH_PROXY DEBUG stopLoading, stop https://<SERVER>:<PORT>/sap/opu/odata/sap/ZMM_SES_APPROVE_SRV;mo/Workitems?$skip=0&$top=50&$orderby=CreatedAt%20desc&$inlinecount=allpages&sap-client=200, elapse: 531233915.3


2017-11-01 12:58:35 +0000 GMT-0200 (GMT-2) offset -7200 SMP_AUTH_PROXY DEBUG startLoading, Load cached response: https://<SERVER>:<PORT>/sap/opu/odata/sap/ZMM_SES_APPROVE_SRV;mo/Workitems?$skip=0&$top=50&$orderby=CreatedAt%20desc&$inlinecount=allpages&sap-client=200

Why Fiori Client IOS is using cache an ODATA request while Android is getting it from the server?

IOS Fiori Client Version: 1.9.5

ANDROID Fiori Client Version: 1.9.2

Thank you!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers