[MGNLUI-5839] BeanStore not released on closing OpenDialogAction form Created: 24/Apr/20  Updated: 01/Dec/20

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Rishab Dhar Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File beanstore-release.patch    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Steps to reproduce

  • Apply the attached patch to ui-framework module
  • Open pages-app and click Add Page action
  • Click cancel to close the Create Page dialog

Observed behavior

The bean store for the form is not released, and no notification for release of bean store in console.

Expected behavior

The bean store for form to be released, and the below notification on the console.

Destroy triggered for : DestroyableComponent

Notes

The bean store is released only when the pages browser subapp is closed.

Acceptance criteria

Apart from implementing expected behavior, unignore failing test in magnolia-ui-framework-jcr/src/test/java/info/magnolia/ui/MultiFieldTest.java that's not working due to this issue.


Generated at Mon Feb 12 09:30:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.