[MGNLUI-3058] PagesEditor sub-app should check the type of the changed item id Created: 11/Jul/14  Updated: 05/Dec/14  Resolved: 19/Aug/14

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.3.1
Fix Version/s: 5.3.3

Type: Bug Priority: Major
Reporter: Aleksandr Pchelintcev Assignee: Espen Jervidalo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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   

PagesEditorSubApp#onContentChanged method casts the events' changed item id to JcrItemId, but that might be an object of pretty much any type (e.g. SitemapEntry in case something has changed in google-sitemap workspace).

This causes the CCE.


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