[jbosstools-issues] [JBoss JIRA] (JBIDE-12736) Parameter substitution in JAX-RS validation messages is broken
Jaroslav Jankovič (JIRA)
jira-events at lists.jboss.org
Tue Oct 2 05:52:03 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaroslav Jankovič closed JBIDE-12736.
-------------------------------------
Verified in JBT 4.0.0.Alpha2-v20120928-0052-B17
> Parameter substitution in JAX-RS validation messages is broken
> --------------------------------------------------------------
>
> Key: JBIDE-12736
> URL: https://issues.jboss.org/browse/JBIDE-12736
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Webservices
> Affects Versions: 4.0.0.Alpha2
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: respin-b, review_approved
> Fix For: 4.0.0.Alpha2
>
> Attachments: JBIDE-12736.patch
>
>
> Validation messages are wrong: parameters are not substitued, some '{0}' are displayed instead.
> if the message template contains '''{0}''' (3x apostrophes), the final message will look like ... '{0}'... , even if the arg was "foo"
> on the other hand, if the message template only contains ''{0}'' (2x apostrophes) with arg "foo", the final message will look like ... 'foo' ...
--
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 jbosstools-issues
mailing list