generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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*.yaml
SAP Fiori tools UI5 version config (url: https://<CDN host name>
with theversion
undefined or""
). According to the linked documentation:Starting with
If theux-ui5-tooling
version 1.4.7, if theversion
property is not set in theui5.yaml
, then theminUI5Version
frommanifest.json
will be used for the application preview. If theversion
property is set, but it is empty, then the latest SAPUI5 version fromhttps://ui5.sap.com
will be used [...].version
property is not set and themanifest.json
does not containminUI5Version
either: 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.
qualiture, barnslet, matz3 and HeikoTheissen
Metadata
Metadata
Assignees
Labels
detectionAn issue related to detection capabilitiesAn issue related to detection capabilities