[MAGNOLIA-6489] IllegalArgumentException is thrown when an invalid message pattern is formatted Created: 07/Jan/16  Updated: 27/Jan/16  Resolved: 12/Jan/16

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.3.12, 5.4.3
Fix Version/s: 5.3.13, 5.4.4

Type: Task Priority: Critical
Reporter: Antonín Juran Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: i18n, support, ui
Remaining Estimate: 0d
Time Spent: 1d 2h 10m
Original Estimate: Not Specified
Environment:

MGNL5.3.10 with Postgres DB
Environment as seen in admincentral #app:about:;
OS: Linux 2.6.32-504.8.1.el6.x86_64 (amd64)
Java: 1.8.0_45 (build 1.8.0_45-b14)
Application server: Apache Tomcat/7.0.47
DB: PostgreSQL 8.4.20
Java DB Driver: PostgreSQL Native Driver PostgreSQL 8.4 JDBC4 (build 703)
Repository: Jackrabbit 2.8.0


Issue Links:
dependency
is depended upon by MGNLUI-3701 IllegalArgumentException is thrown wh... Closed
relation
is related to LANG-42 Correct i18n messages to be valid for... Closed
is related to MAGNOLIA-8022 Use MessageFormatterUtils instead Mes... Open
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Release notes required:
Yes
Sprint: Kromeriz 26
Story Points: 2

 Description   

User superuser with english language works nice, instead the same
User superuser with italian language
(note: I've re-read the documentation about Language configuration https://documentation.magnolia-cms.com/display/DOCS/Language+configuration and my Defining Locales configuration is the one I have always used and you can see in the image )
reports this problem:

Description of the Testcases :
1° Testcase)
Create a new web Page in Pages.
Try to delete it.

I get the following ERROR "Pulse Dashboard" and ful log in [^log-errore-cancellazione.txt]:

2015-09-24 15:52:36,240 ERROR fo.magnolia.ui.contentapp.browser.BrowserPresenter: An error occurred while executing action [confirmDeletion]
info.magnolia.ui.api.action.ActionExecutionException: java.lang.IllegalArgumentException: Unmatched braces in the pattern.

2° Testcase)
Export a node in the demosite in Pages (eg: /demo-features/modules).
Try to Import at the same level. [This will generate ERROR same UUID. Instead doing this same operation with eng superuser it will correctly generate "PageName0" without errors.]
Try to Import in a different level. [This will work]
Try to delete the node you just imported. [This will generate the same error code as above]

NOTES:

  • The 2° Testcase and relative error seems to apply in Assets too
  • This is not a multisite structure-content related problem.

Generated at Mon Feb 12 04:15:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.