generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
detectionAn issue related to detection capabilitiesAn issue related to detection capabilities
Description
One of the common pitfalls I often see is applications relying on the Default Version - bootstrapping the framework without having any UI5 version specified, which should be avoided as documented and explained also in my replies:
- Themecheck - Urgent Production issue - what have you guys done?! openui5#3631
- "SAPUI5 has suddenly internal load resource error despite no changes in the app" - Stack Overflow
Other community members describe their browser reporting a misleading CORS error on 404 responses (simply missing Access-Control-Allow-Origin) whereas the real cause is often that a UI5 module with outdated Last-Modified is attempting to access a module synchronously that is already removed from the CDN.
Detection: wherever a UI5 CDN URL is defined in the project, for example:
- In HTML
- In
ui5*.yamlSAP Fiori tools UI5 version config (url: https://<CDN host name>with theversionundefined or""). According to the linked documentation:Starting with
If theux-ui5-toolingversion 1.4.7, if theversionproperty is not set in theui5.yaml, then theminUI5Versionfrommanifest.jsonwill be used for the application preview. If theversionproperty is set, but it is empty, then the latest SAPUI5 version fromhttps://ui5.sap.comwill be used [...].versionproperty is not set and themanifest.jsondoes not containminUI5Versioneither: same as emptyversion(version: "") --> bootstraps with "Default Version". - ...
Possible solutions in the report:
- Patch-level independent bootstrap aka. Evergreen Version (LTS only)
- Promote "Renovate" docs#108
- Pick one of the maintained SAPUI5/OpenUI5 versions
- If launching the app without any existing local cache (e.g. in an incognito window) doesn't resolve the issue → Create an OpenUI5 issue or SAP ticket to request cache invalidation of the CDN. → After the CDN cache has been invalidated, try again in incognito.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
detectionAn issue related to detection capabilitiesAn issue related to detection capabilities