[JIRA-OS] Created: (WW-296) Expression language cannot handle numbers starting with . like .90
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-296
Here is an overview of the issue:
---------------------------------------------------------------------
Key: WW-296
Summary: Expression language cannot handle numbers starting with . like .90
Type: Bug
Status: Assigned
Priority: Minor
Project: WebWork
Fix Fors:
1.3.1
Versions:
1.3
Assignee: Dick Zetterberg
Reporter: Dick Zetterberg
Created: Sun, 7 Sep 2003 4:27 PM
Updated: Sun, 7 Sep 2003 4:27 PM
Description:
The expression language cannot handle numbers starting with a . for example .9 0.9 can be handled though.
There is a test-case for this .9 < 1.0, so it is supposed to work, but it is just an accident that the test passes, because the lookup of .9 returns null, which is smaller than 1.0.
I have a patch for this that I'll commit because it is also important now when the syntax ./someProperty is allowed. Otherwise unnecessary number format exceptions will be thrown and swallowed.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.opensymphony.com/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf