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

Page: remove destroyed detail form and table from page #982

Open
wants to merge 1 commit into
base: releases/24.2
Choose a base branch
from

Conversation

bschwarzent
Copy link
Member

A page may reference a detailForm or a detailTable. If the corresponding widget is destroyed, the member should also be set to null. Otherwise, it may happen that the destroyed widget is still accessed, creating the potential for unexpected errors ('Widget is destroyed').

For example, if a node page with both a detail form and a detail table is destroyed while still being selected, the DesktopBench will be triggered by a pageChanged event and tries to update the outline content with an already destroyed widget.

A page may reference a detailForm or a detailTable. If the corresponding
widget is destroyed, the member should also be set to null. Otherwise,
it may happen that the destroyed widget is still accessed, creating the
potential for unexpected errors ('Widget is destroyed').

For example, if a node page with both a detail form and a detail table
is destroyed while still being selected, the DesktopBench will be
triggered by a pageChanged event and tries to update the outline content
with an already destroyed widget.
@bschwarzent bschwarzent self-assigned this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant