You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Attila Magyar (Jira)" <ji...@apache.org> on 2021/08/18 13:03:00 UTC
[jira] [Resolved] (KNOX-2642) Incorrect message format indexes
[ https://issues.apache.org/jira/browse/KNOX-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Magyar resolved KNOX-2642.
---------------------------------
Resolution: Fixed
> Incorrect message format indexes
> --------------------------------
>
> Key: KNOX-2642
> URL: https://issues.apache.org/jira/browse/KNOX-2642
> Project: Apache Knox
> Issue Type: Task
> Reporter: Attila Magyar
> Assignee: Attila Magyar
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> There are some places where the indexes within java.text.MessageFormat starts with 1 but MessageFormat expects a zero based indexing.
> For example:
> {code:java}
> @Message(level = MessageLevel.ERROR, text = "Error while monitoring CM advanced configuration: {1}") {code}
> The log message is going to show \{1} instead of the actual parameter value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)