You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 the version undefined or ""). According to the linked documentation:
Starting with ux-ui5-tooling version 1.4.7, if the version property is not set in the ui5.yaml, then the minUI5Version from manifest.json will be used for the application preview. If the version property is set, but it is empty, then the latest SAPUI5 version from https://ui5.sap.com will be used [...].
If the version property is not set and the manifest.json does not contain minUI5Version either: same as empty version (version: "") --> bootstraps with "Default Version".
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.
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:
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 outdatedLast-Modifiedis 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:
ui5*.yamlSAP Fiori tools UI5 version config (url: https://<CDN host name>with theversionundefined or""). According to the linked documentation:If theversionproperty is not set and themanifest.jsondoes not containminUI5Versioneither: same as emptyversion(version: "") --> bootstraps with "Default Version".Possible solutions in the report: