This issue has been created
There is 1 update.
 
 
Blog Application / cid:jira-generated-image-avatar-bfb00f41-8cc5-4ac6-bae0-168bfb28ce2b BLOG-228 Open

Month names of BlogArhive are displayed using JVM locale instead of XWiki context locale

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-eb35b31b-65d7-4618-a3bf-eaad50d660e7 Nikita Petrenko created this issue on 08/May/25 11:28
 
Summary: Month names of BlogArhive are displayed using JVM locale instead of XWiki context locale
Issue Type: cid:jira-generated-image-avatar-bfb00f41-8cc5-4ac6-bae0-168bfb28ce2b Bug
Affects Versions: 9.14.1
Assignee: Unassigned
Created: 08/May/25 11:28
Priority: cid:jira-generated-image-static-minor-c879ae8e-70ea-40d1-9f82-514cf86cf62f Minor
Reporter: Nikita Petrenko
Description:

Prerequisites:

  • Have multilanguage XWiki

Steps to reproduce:

  1. Install Blog application v9.14.1
  2. Switch XWiki locale from English to another one (French, German, etc)
  3. Visit page "Blog.Archive"
  4. Observe name of the month for blog in 2009 year.

Actual result

The name of the month June is displayed in English (or default JVM locale in my case it's Ukrainian)

Expected result

The name of the month June is displayed in XWiki locale

Note

The issue is caused by missing call of

withLocale

in line https://github.com/xwiki-contrib/application-blog/blob/7cd881fa74ded70bdf27677188af1675245fd72e/application-blog-ui/src/main/resources/Blog/ArchiveSheet.xml#L52

 
 

1 update

 
cid:jira-generated-image-avatar-eb35b31b-65d7-4618-a3bf-eaad50d660e7 Changes by Nikita Petrenko on 08/May/25 11:29
 
Assignee: Nikita Petrenko