[jboss-jira] [JBoss JIRA] (LOGTOOL-60) Only one message may have a given ID at a time

James Perkins (JIRA) jira-events at lists.jboss.org
Tue Oct 16 14:19:01 EDT 2012


     [ https://issues.jboss.org/browse/LOGTOOL-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Perkins updated LOGTOOL-60:
---------------------------------

    Workaround Description: 
Use {{Message.INHERIT)}}

{code}
@Message(id = Message.INHERIT, value="")
{code}

    
> Only one message may have a given ID at a time
> ----------------------------------------------
>
>                 Key: LOGTOOL-60
>                 URL: https://issues.jboss.org/browse/LOGTOOL-60
>             Project: Log Tool
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: David Lloyd
>            Assignee: James Perkins
>             Fix For: 1.0.4.Final, 1.1.0.Beta1
>
>
> Sometimes it is desirable for two messages to have the same ID.  For example, you could have the following two messages:
> * {{Only one of the following flags is allowed: %s, %s}}
> * {{Only one of the following flags is allowed: %s, %s, %s}}
> Both have the same meaning, the same context, and (in this case, though not necessarily in every case) the same translation.
> Because of the error-preventing nature of this check, it is reasonable to restrict messages of the same ID to the same source interface.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list