Skip to Content
0

UI5 screen not launching from MII Navigation menu

May 09, 2017 at 04:25 AM

156

avatar image

Hi All,

We are running in MII 15.0 SP8 and the UI5 version is 1.28.23.

When I launch the UI5 screen from Workbench it is working fine. But the same screen is not getting loaded from the MII Navigation Menu. In developer tools I am getting an error "Error: found in negative cache: 'sap/ui/core/Core.js' from undefined/sap/ui/core/Core.js: TypeError: Object doesn't support property or method 'addEventListener' "

Additional note: We are using IE 11 for testing.

Regards,

Aravinth

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sharath M G May 10, 2017 at 03:58 AM
0

Well, IE is always not the best test suite.

Regarding the error, try ti reset the cache by running the report - /ui5/app_index_calculate.

Regards,

Sharath

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Sharath,

Seems like the report - /ui5/app_index_calculate has to be scheduled in ECC side, but the issue I am facing in SAP MII Home screen menu.

Thanks,

Aravinth

0

Its related to caching on the browser.

The report reindexes the files.

Maybe include the cachebuster in the index.html.

Check this link for the steps:

https://help.sap.com/saphelp_nw75/helpdata/en/4c/fe7eff3001447a9d4b0abeaba95166/content.htm

1

Hi,

Tried the cachebuster as well, but still the same problem. Is this related to the UI5/NW version ?

0

This is mostly due to the caching mechanism in the browser coupled with settings driven from UI5 apps prescribing the caching requirements to the browser.

I experienced it multiple times and running the report fixed it sometimes. Other times, I had to clear the cache on the browser or run the app in incognito / in-private mode of the browser.

Regards,

Sharath

0
Silent Monk May 22, 2017 at 07:59 AM
0

hi Aravinth,

Please view solution at below page

SAPUI5-Negative Cache

Thank you !

Mohammed

Share
10 |10000 characters needed characters left characters exceeded