[MULTISITE-98] Property names should not contain a system locale suffix when i18n is disabled Created: 17/Apr/20  Updated: 22/Sep/21  Resolved: 06/May/20

Status: Closed
Project: Magnolia Multisite Module
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Bug Priority: Medium
Reporter: Leah Staniorski Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: cs-bk
Remaining Estimate: 32m
Time Spent: 0.6h
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2020-04-17 at 8.33.47 AM.png     PNG File screenshot-1.png    
Issue Links:
dependency
relation
is related to MTE-113 Texts on pages done with mtk:pages/ba... Closed
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
Date of First Response:
Epic Link: UI framework implementation
Sprint: UI FW 1
Story Points: 3

 Description   

To reproduce: run the dx-core-webapp (NOT dx-demo-webapp), create a segment in Segments app, then create a page in Pages app using the "basic template", then create a variant and assign the segment you created as the audience. Look in the JCR and navigate to this variant node. Select "display all system properties". Find mgnl:assignedSegment and title properties. See attached screenshot for example.

Properties "mgnl:assignedSegment" and page "title" are being saved with a locale at the end.
If an i18n node is configured AND enabled inside of the site module configuration or the fallback site definition, then this issue doesn't seem to occur.

You can also see this issue on the demo site for the Sportstation site, which has i18n disabled in the site definition by default. If i18n is enabled, the issue goes away.
https://demoauthor.magnolia-cms.com/

 

Notes from grooming:

  • likely issue only in segmentation project confirmed in website too
  • LocaleContext population logic

Generated at Mon Feb 12 06:06:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.