[PAGES-556] EditComponent dialog crashed when selecting cancel or commit action Created: 11/Jan/22  Updated: 26/Aug/22

Status: Open
Project: Magnolia pages module
Component/s: None
Affects Version/s: 6.2.15
Fix Version/s: None

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

UAT


Attachments: PNG File Screen Shot 2022-01-11 at 15.43.34.png     PNG File Screen Shot 2022-01-11 at 15.44.00.png     PNG File Screen Shot 2022-01-11 at 15.44.11.png     PNG File Screen Shot 2022-01-11 at 15.48.36.png     PNG File Screen Shot 2022-01-11 at 15.48.50.png    
Issue Links:
causality
caused by PAGES-513 Subapp and dialog locale not in sync Closed
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
Epic Link: AuthorX Maintenance
Team: AuthorX

 Description   

Edit Component dialog crashed when selecting cancel or commit action.

Steps to reproduce

  1. Include magnolia-personalization-pages (2.0.14) to your webapp bundle
  2. Edit page in pages app:
  3. Select 1 component to edit
  4. Click cancel

Expected results

  • Dialogs can be closed or saved properly

Actual results

  • Dialogs failed with exception

Development notes

  • From 6.2.13 We are adding LanguageSelectorView to EditElementAction, and made the old constructor as deprecated.
  • personalization-pages(2.0.14) module, VariantAwareEditElementAction is still using the old constructor one.
  • languageSelectorView’s null causing dialog to be crashed due to NPE.
  • Definition app a:

Generated at Mon Feb 12 06:20:06 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.