Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sap.ui.layout.form.SimpleForm Aggregation Clone Issue #4015

Open
edemuck4timbuktu opened this issue Mar 25, 2024 · 1 comment
Open

sap.ui.layout.form.SimpleForm Aggregation Clone Issue #4015

edemuck4timbuktu opened this issue Mar 25, 2024 · 1 comment

Comments

@edemuck4timbuktu
Copy link

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:

  1. 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

@aborjinik
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants