[MGNLUI-6520] SubappContext#getAuthoringLocale may return wrong value in some circumstances Created: 21/Jan/21  Updated: 15/Mar/23

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Unresolved 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:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Epic Link: Old framework

 Description   

Lately we stumbled in a couple of issues in legacy apps possibly related to the value returned by SubAppContext#getAuthoringLocale as it is set at https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/browse/magnolia-ui-framework/src/main/java/info/magnolia/ui/framework/app/AppInstanceControllerImpl.java#399.

Prior to https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/commits/88ee92b7f5084d86a7fd00202866c5cd75193f00 this was not set and returned null, a value legacy framework and apps seem to rely on in some cases.

For more context refer to https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/pull-requests/1685/overview?commentId=72322
and https://git.magnolia-cms.com/projects/MODULES/repos/pages/pull-requests/259/overview?commentId=72912


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