[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1859) messageformat error blows up
Pierre Raoul (JIRA)
jira-events at lists.jboss.org
Sat Aug 25 02:50:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1859?page=comments#action_12373815 ]
Pierre Raoul commented on JBSEAM-1859:
--------------------------------------
Because:
1/ it's already the way of doing the thing, see in InterpolatorTest the existing case of
// test that a messageformat error doesn't blow up
Assert.assertEquals("{nosuchmessage}", interpolator.interpolate("{nosuchmessage}"));
2/ atm when an EL expression is not closed by a brace, the trace doesn't give a clear clue of what is wrong. I lost too much time with such an error.
With the wrong expression shown at the place of the expected result, it's direct.
> messageformat error blows up
> ----------------------------
>
> Key: JBSEAM-1859
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1859
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0.BETA1
> Reporter: Pierre Raoul
> Attachments: seam-Interpolator.diff, seam-InterpolatorTest.diff
>
>
> When an EL expression is not closed by a brace, an error is thrown.
> It would be better to show the wrong expression as it is.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list