[jboss-jira] [JBoss JIRA] Created: (JBSEAM-336) BigDecimal is not handled properly

Valerij Timofeev (JIRA) jira-events at jboss.com
Fri Aug 18 10:40:41 EDT 2006


BigDecimal is not handled properly
----------------------------------

                 Key: JBSEAM-336
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-336
             Project: JBoss Seam
          Issue Type: Bug
          Components: JSF
    Affects Versions: 1.0.1
         Environment: German or US locale, Windows XP Pro, myfaces 1.1.3, Oracle 9.2 or MySQL 4.1.9 
            Reporter: Valerij Timofeev


Generating CRUD Seam applications results in some fields having Java type BigDecimal.
It seems that this type is not handled properly.

There are no error messages in the JBoss server.log (log4j javax.faces & org.jboss.seam priorities are DEBUG). Query returns no results.
Debugging shows for example that findFirstPage() method is never called.

Changing type e.g. to Double fixes the issue (see workarounds for details) : it becomes possible to step through the method. And query returns some results.

Clicking on create link and then switching to find view (other bean than current) results in the following JSF error:
Cannot set value for expression '#{somebeanEditor.instance.id}' to a new value of type java.lang.String
Where ID is of type BigDecimal.

-- 
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 jboss-jira mailing list