[PAGES-186] Nested areas with invalid markup breaks JS in Author Created: 19/Jun/19  Updated: 23/Aug/22

Status: Open
Project: Magnolia pages module
Component/s: None
Affects Version/s: 5.7, 6.0
Fix Version/s: None

Type: Bug Priority: Low
Reporter: Bartosz Staryga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive authorBug.zip     File video.mov    
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
Team: AuthorX

 Description   

Given

Nesting area inside area when both areas have invalid markup.
Areas needs to have min. 2+ wrapping elements around them.

Result

Breaks JS in Author.

Actual

Should allow correct JS handling hence allows editing.

Please find attached:

  • authorBug.zip - zipped light module containing example to reproduce the issue. look in file row.ftl for missing closing div tag
  • video.mov - video showing how JS stopped picking up clicks and stops doing changes to editing panel

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