[MGNLUI-4578] Make JCR-bound Tree/List views resilient to the underlying workspace changes Created: 17/Aug/18  Updated: 01/Apr/19  Resolved: 01/Apr/19

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

Type: Task Priority: Neutral
Reporter: Aleksandr Pchelintcev Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
causality
is causing ECOMMERCE-171 IllegalStateException thrown after ch... Closed
supersession
is superseded by MGNLUI-5000 Timebox: Assess JCR TreeGrid function... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-4587 Make sure Grid/TreeGrid are resilient... Sub-task Closed  
MGNLUI-4588 Allow property/node renaming directly... Sub-task Closed  
MGNLUI-4589 Prevent RepoExceptions when selecting... Sub-task Closed  
MGNLUI-4590 Let Grid/TreeGrid be edited in a buff... Sub-task Closed  
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

Apparently Grid/TreeGrid components do not behave that well when the underlying datasource changes especially with regard to the move/remove item operations.

In particular, regarding JCR domain with the fragile session-dependent nodes, Grid/TreeGrid might blow up with exceptions:

  • Remove a node in one Admincentral session, click it in the other session open in a different tab - Grid will try to refresh the ids of the items (including the deleted ones) and causes a repo exception.

Related logic is located in e.g. DataCommunicator.ActiveDataHandler and DataKeyMapper - those are responsible for keeping mapping information between client-side ids vs the domain items (nodes in this case).

Clearing out stale/no longer existing nodes is tedious - for that we have to override DataCommunicator and HierarchyMapper (for the flat Grid).


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