cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with sap.ui.core.Component.create and sap.ui.fl.flexState

285

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.

altafmohammedaftab_0-1728608352397.png

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.

altafmohammedaftab_2-1728608971746.png

altafmohammedaftab_1-1728608686874.png

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 ). Has anyone else faced a similar problem after the update or found a solution?

Any guidance or suggestions would be highly appreciated.

Thank you!

 

WouterLemaire
Active Contributor
Seems like a bug to me. Have you submitted an SAP note?
I have not yet submitted a SAP Note. My initial thought was to ask the community first.

Accepted Solutions (0)

Answers (1)

Answers (1)

I have raised a issue on GitHub: https://github.com/SAP/openui5/issues/4146