Closed henrypolangcosSap closed 1 month ago
Hello @SAP/ui5-webcomponents-topic-core,
Can you take a look at this issue it is similar to #4904
Best Regards, Gergana
Hi @henrypolangcosSap,
As we talk offline, the version of web components that you are using is 1.19.1 which is using CLRD from cdn (https://sdk.openui5.org/1.103.0/resources/sap/ui/core/cldr/en.json) which is no longer available and its purpose was to be used in development environment only. To fix this please check following page: https://sap.github.io/ui5-webcomponents/v1/docs/getting-started/using-assets/
Regards, Nayden
Bug Description
the real issue happens in the open UI5 wc, calling this var oLocaleData = new sap.ui.core.LocaleData(sap.ui.getCore().getConfiguration().getLocale()); will throw the error below please see and video as the attachment
Error: CLDR data for locale en is not loaded! at f (main.6dd1bed7.js:2:1458624) at Object.loadResource (main.6dd1bed7.js:2:686334) at i (main.6dd1bed7.js:2:687812) at main.6dd1bed7.js:2:688175 at new constructor (main.6dd1bed7.js:2:688270) at sap.extent.uilib.util.EditFormGeneratorHelper._getUIDateTimeFormat (EditFormGeneratorHelper.js?eval:2105:27) at:1:47
This is similar to https://github.com/SAP/ui5-webcomponents/issues/4904
https://github.com/SAP/ui5-webcomponents/assets/174543909/1e679290-4f2d-43cc-a8d9-c32d6c794a0a
Affected Component
No response
Expected Behaviour
the call new sap.ui.core.LocaleData(sap.ui.getCore().getConfiguration().getLocale()); should execute without issue
Isolated Example
No response
Steps to Reproduce
please reach out to me if you need assistance on reproducing the issue
Log Output, Stack Trace or Screenshots
No response
Priority
None
UI5 Web Components Version
not sure about this, I can only say out release version is 2405p11e.20240703181305
Browser
Chrome, Edge, Firefox, Safari
Operating System
in my case, it's mac
Additional Context
This is a high priority, It's impacting our customers ability to do their work, in this case processing 'edit work order information"
for the version, I checked from one of the css_variables
https://hcm2preview.sapsf.eu/verp/vmod_v1/ui/fundamental-styles/resources_1.3.0/@sap-theming/theming-base-content/content/Base/baseLib/sap_horizon/css_variables.cs /**
Organization
Success Factors
Declaration