[MGNLUI-7913] Initialize AbstractDatasourceObservation with sub app specific location Created: 13/Mar/23  Updated: 09/May/23  Resolved: 21/Mar/23

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.30
Fix Version/s: 6.3.0, 6.2.30

Type: Bug Priority: Neutral
Reporter: Antonín Juran Assignee: Antonín Juran
Resolution: Fixed 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
caused by MGNLUI-6342 Do not refresh grids in inactive apps... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-7918 Implementation Sub-task Completed Antonín Juran  
MGNLUI-7919 Code review Sub-task Completed Jaromir Sarf  
MGNLUI-7920 Pre-integration QA Sub-task Completed Jaromir Sarf  
MGNLUI-7921 Final QA Sub-task Completed Daniel Alonso  
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
Epic Link: Nucleus Quality Maintenance
Sprint: Nucleus 32
Story Points: 3
Team: Nucleus
Work Started:

 Description   

Steps to reproduce

  1. Open detail subapp for travel page using this link: https://nightly.magnolia-cms.com/.magnolia/admincentral#app:pages-app:detail;/travel:
  2. Switch to pages browser sub app
  3. Add a page here

Expected results

Added page should be visible in the browser grid

Actual results

Added page is not visible in the browser grid

Workaround

Close and open Page app again

Development notes

AbstractDatasourceObservation instances for all sub apps are initialized with the same originalLocation. It can cause that AbstractDatasourceObservation#trigger method is not executed.



 Comments   
Comment by Antonín Juran [ 14/Mar/23 ]

Discovery

originalLocation in AbstractDatasourceObservation could be initialized from SubAppContext instead of LocationContext.

The fix for 6.3 could be done on reverted PR and the PR could be re-integrated.

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