Skip to content

Recently Updated Macro displays an error on pages with different locales #151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
trrenty opened this issue Jun 16, 2023 · 0 comments · Fixed by #152
Closed

Recently Updated Macro displays an error on pages with different locales #151

trrenty opened this issue Jun 16, 2023 · 0 comments · Fixed by #152

Comments

@trrenty
Copy link
Contributor

trrenty commented Jun 16, 2023

Prerequisites:
In Global Administration > Content > Localization

  1. Enable the wiki to be multilingual
  2. Add one more language to the supported languages
    Steps to reproduce:
  3. Create a page
  4. Add a comment to the page
  5. Add the Recently Updated Macro on the said page
  6. View the page in the newly added supported language (by adding the query to the url ?language=de
    Result:
    image
@trrenty trrenty self-assigned this Jun 16, 2023
trrenty added a commit to trrenty/xwiki-pro-macros that referenced this issue Jun 16, 2023
trrenty added a commit to trrenty/xwiki-pro-macros that referenced this issue Jun 16, 2023
trrenty added a commit to trrenty/xwiki-pro-macros that referenced this issue Jun 16, 2023
…les xwikisas#151

* Only try to parse the comment date in the en locale.
@trrenty trrenty added this to the 1.9.3 milestone Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant