openui5
openui5 copied to clipboard
sap.ui.layout.form.SimpleForm Aggregation Clone Issue
OpenUI5 version: 1.120.11 Browser/version (+device/version): Chrome Version 122.0.6261.131 (Offizieller Build) (64-Bit) URL (minimal example if possible): https://plnkr.co/plunk/uyRhWUvienyHvQ1p
Steps to reproduce the problem:
- Start the plnkr Demo App
What is the expected result?
The sap.m.OverflowToolbar
of each sap.ui.layout.form.SimpleForm
should be displayed. Only the last sap.ui.layout.form.SimpleForm
displayed the toolbar.
What happens instead?
The sap.m.OverflowToolbar
of the sap.ui.layout.form.SimpleForm
, which is the content of a sap.f. Card
, isn't displayed.
Any other information? (attach screenshot if possible)
First analysis:
The cloning of the sap.ui.layout.form.SimpleForm
triggers by rendering of the aggregation pages
of the sap.m.Carousel
isn't working properly.
After cloning the SimpleForm
, the aggregation toolbar
isn't part of the new SimpleForm
. See https://github.com/SAP/openui5/blob/1.120.11/src/sap.ui.layout/src/sap/ui/layout/form/SimpleForm.js#L1141
Thanks for reporting this issue. In UI5 hidden aggregations are not part of clones. The SimpleForm uses the form as a hidden aggregation and this seems like the main issue here. Internal incident DINC0107232 is created for this github issue.
Hi,
this issue is already solved with SAPUI5 version 1.121
Fixed with https://github.com/SAP/openui5/commit/a8a81993b1782b8d47dbafa355f262f7b818ac35
@flovogt Thank you ;) Why is this fix not in the long-term maintenance version 1.120
?
Hello @edemuck4timbuktu, Thank you for sharing this finding. I've created an internal incident DINC0203677 reagrding your downport request. The status of the issue will be updated here in GitHub. Regards, Gergana
@edemuck4timbuktu : Could you please tell us what SAP product has an problem? We have strict downport guidelines to keep running installations stable. Only if there is a real issue with a real application a downpord to older SAPUI5 versions is done.
@UserAbcd1234 It is ok, thanks. I will be wait to the next Long-term Maintenance version.
Hello @edemuck4timbuktu,
Thank you for your response!
Given all the communication, I think it is appropriate to mark the ticket as resolved.
Best regards, Konstantin Gogov SAPUI5 GitHub Dispatcher