[MGNLSTK-679] Sitemap with choosen root page is not i18n aware Created: 25/Aug/10  Updated: 19/Jan/11  Resolved: 09/Dec/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 1.3.4
Fix Version/s: 1.3.6, 1.4.2

Type: Bug Priority: Minor
Reporter: Vincent Gombert Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

Using demo-project :
1) Switch to German locale
2) Change navigation title of any page
3) Go to site map and edit site map paragraph:

  • used title: navigation title
  • choose root page: /demo-project (or any other, but do not leave empty)

==> Site map does not display German navigation title for updated page(s)

This issue can be easily solved using I18nContentWrapper in SiteMapParagraphModel:
83: return new I18nContentWrapper(manualChosenRoot);

Maybe there is a better solution with STKUtil.getReferencedContent which may return i18n content when argument is also i18n content


Generated at Mon Feb 12 07:29:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.