You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/08/18 12:57:00 UTC

[jira] [Commented] (KNOX-2642) Incorrect message format indexes

    [ https://issues.apache.org/jira/browse/KNOX-2642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17401032#comment-17401032 ] 

ASF subversion and git services commented on KNOX-2642:
-------------------------------------------------------

Commit 70f4800f2ad3a405776ac59be813e1e6520e47d9 in knox's branch refs/heads/master from Attila Magyar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=70f4800 ]

KNOX-2642. Incorrect message format indexes (#483)



> 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: 20m
>  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)