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 GitHub Bot (Jira)" <ji...@apache.org> on 2021/08/16 10:49:00 UTC

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

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

ASF GitHub Bot logged work on KNOX-2642:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Aug/21 10:48
            Start Date: 16/Aug/21 10:48
    Worklog Time Spent: 10m 
      Work Description: zeroflag opened a new pull request #483:
URL: https://github.com/apache/knox/pull/483


   ## What changes were proposed in this pull request?
   
   Fixing incorrect message format indexes. MessageFormat is zero based but there multiple places where we use 1 based indexing.
   
   ## How was this patch tested?
   
   ..


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@knox.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 638102)
    Remaining Estimate: 0h
            Time Spent: 10m

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