on 04-05-2017 3:36 PM
I'm not trying to do anything strange. I made an app and published to the ABAP repository. Then made a change and published it again. But when I run the app in the Fiori Launchpad it always uses the old code. In the past I used a few ABAP programs to clear the cache and that did the trick, but not this time. Maybe in this newer version the cache had evolved to survive.
I can see my app is cached in the server in the route <server>/sap/bc/ui5_ui5/sap/<my app>/~<some hash code>~C/. It always run with this code and I couldn't update it.
This is what I tried so far. Maybe someone can point out something else.
1) I ran transactions /IWFND/CACHE_CLEANUP and /IWBEP/CACHE_CLEANUP
2) I ran programs:
/UI2/CHIP_SYNCHRONIZE_CACHE
/UI2/DELETE_CACHE
/UI2/DELETE_CACHE_AFTER_IMP
/UI2/INVALIDATE_GLOBAL_CACHES
/UI5/APP_INDEX_CALCULATE
/UI5/UPDATE_CACHEBUSTER
3) I cleared the browser's cache.
4) I manually called the url <URL to SAPUI5 application or component>/do-update-meta-data
5) I added the sap-ui-debug=true parameter to the url
6) I even deleted the app and published it again.
It keeps and keeps and keeps using the same old code.
The Gateway server is a Netweaver 7.51. SAP_GWFND and SAP_UI 751 SP 1. UIX01CA1 200 SP 3.
Thanks!
Since you have a hash code in the URL, it means that the Fiori cache buster is switched on. A new hash code should get generated upon running the /UI5/APP_INDEX_CALCULATE. Play around keeping this concept in mind.
You can also deactivate cache buster for testing using the URL parameter sap-ushell-nocb=true.
One other possibility is that the app is running from component-preload, and your latest changes are not built into preload file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've tried everything that Leonardo tried and I've even added ?sap-ushell-nocb=true to the end of my URL. Even if I removed my SAPUI5 app in the backend, the Fiori Launchpad keep loading the previous version.
Did you find a way to solve it? I've more than 100 users using my app and it will not be easy to teach them all to use developer tools from the browser to get rid of their caches.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.