[MGNLUI-6912] Observation in JCR browser broken after workspace switch Created: 11/Oct/21  Updated: 11/Nov/21  Resolved: 03/Nov/21

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

Type: Bug Priority: Major
Reporter: Roman Kovařík Assignee: Jaromir Sarf
Resolution: Fixed Votes: 0
Labels: VN-Testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by MGNLUI-6871 Grid row not updating reliably after ... Closed
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: Grid performance
Sprint: UI FW 40
Story Points: 5

 Description   

Steps to reproduce

  1.  https://nightly.magnolia-cms.com/.magnolia/admincentral#app:jcr-browser-app
  2.  Switch workspace
  3. Add a node

Expected results

  1. Grid is updated.

Actual results

  1. Added node not visible

Workaround

Interact with the grid to get the changes.

Development notes

The issue was introduced with MGNLUI-6871. The destructed observation ignores #registration calls but JCR browser uses #destroy when switching workspace. https://git.magnolia-cms.com/projects/PLATFORM/repos/ui.pub/browse/jcr-browser-app/src/main/java/info/magnolia/jcrbrowser/app/observation/JcrManualDataSourceObservation.java

Either quickfix the default JCR observation or impl a proper solution for workspace switch in JCR browser.


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