Closed Aftab571 closed 1 month ago
Hi @Aftab571 , thank you for sharing your finding! Can I, please, ask you for some simple example on how to reproduce the error, so we can shorten my colleagues` time for coming out with a solution? Best regards, Petya Markova. (UI5 Dispatcher)
Hi Petya, Unfortunately, it's not easy to create a simple example of the error as it involves a nested component. But I can arrange a call and then explain the error to you or open an SAP Ticket and try to give access to the remote system.
Thanks & Regards, Mohammed Aftab.
Hi @Aftab571 , ti would be nice if you open a SAP ticket, to test on your system. Thank you! Best regards, Petya Markova. (UI5 Dispatcher)
Hello everyone,
After updating SAP UI5 to version 1.120.21 ( error also occurs on version 1.120.0 & 1.120.18 ) on our S/4HANA 2023 on-premise system (SAP_BASIS 758, SAP_UI 758), I’ve encountered a random error while resolving the promise of sap.ui.core.Component.create.
Upon deeper investigation, the error seems to originate from sap/ui/fl/apply/_internal/flexState/FlexState.js, specifically in the executeFunction of DataSelector. It appears that one of my components is occasionally missing the runtimePersistence object, which results in the error. This issue occurs inconsistently across multiple components.
https://github.com/SAP/openui5/blame/ed0fe6fb5a803490c5181e72ed1b4b134a7a54db/src/sap.ui.fl/src/sap/ui/fl/apply/_internal/flexState/FlexState.js#L203
I’ve reviewed the version change logs but couldn’t find anything that addresses this specific issue. One of the closest note I could find was : https://me.sap.com/notes/3506053/E (I suspected it was an ui5 version issue and updated my version to 1.120.21 but the error still occurs ).
Any guidance or suggestions would be highly appreciated.
Thank you!