
| Key: |
DWR-163
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Joe Walker
|
| Reporter: |
Joe Walker
|
| Votes: |
1
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
I wanted to send Number.MAX_VALUE to the server to a double parameter
Javascript sends this in the HTTP request: 1.7976931348623157e 308
But in org.directwebremoting.util.LocalUtil.simpleConvert(), Java's
Double.valueOf(string) doesn't accept the javascript value.
but it requires 1.7976931348623157E308 instead and throws an exception with
"Invalid float literal number"
This is Firefox 2.0.0.7 - I'm not sure if it's a browser thing, but I'd
guess so.
Looks like it needs a bit more massaging in LocalUtil.
|
|
Description
|
I wanted to send Number.MAX_VALUE to the server to a double parameter
Javascript sends this in the HTTP request: 1.7976931348623157e 308
But in org.directwebremoting.util.LocalUtil.simpleConvert(), Java's
Double.valueOf(string) doesn't accept the javascript value.
but it requires 1.7976931348623157E308 instead and throws an exception with
"Invalid float literal number"
This is Firefox 2.0.0.7 - I'm not sure if it's a browser thing, but I'd
guess so.
Looks like it needs a bit more massaging in LocalUtil. |
Show » |
Sort Order:
| There are no comments yet on this issue.
|
|