myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonn Beames (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-731) selectManyListbox calls converter getAsString passing in string value during form post
Date Fri, 28 Oct 2005 23:17:00 GMT
     [ http://issues.apache.org/jira/browse/MYFACES-731?page=all ]

Jonn Beames updated MYFACES-731:
--------------------------------

    Attachment: myfaces-test.tar.gz

This gzipped tar includes a small EJB3 app that demonstrates the problem I am having with
myfaces-1.1.0 and myfaces-1.1.1 when saving an EJB managed entity.  It also includes the pre-1.1.0
myfaces jars that work as expected in regards to the conversion of the list item to model
object.

The source and ant packaging file are included, but there is a ready-to-go ear file in build/jars/
- this ear file can be dropped in a jboss-4.0.3+ejb3rc3 server's deploy directory.  JBoss
4.0.3 ships with myfaces-1.1.0 in server/{servername}/deploy/jbossweb-tomcat55.sar/jsf-libs
- so you should see the class cast exception when you try to save your list.  If you replace
the myfaces-1.1.0 files with the ones included in this tar and restart the app server you
will be able to save your list.

note: the app will use the DefaultDS hypersonic datasource that is a part of the JBoss server.
 you can change this by editing config/par/persistence.xml and repackaging.

> selectManyListbox calls converter getAsString passing in string value during form post
> --------------------------------------------------------------------------------------
>
>          Key: MYFACES-731
>          URL: http://issues.apache.org/jira/browse/MYFACES-731
>      Project: MyFaces
>         Type: Bug
>   Components: Implementation
>     Versions: 1.1.0, Nightly
>  Environment: JBoss 4.0.3 plus EJB 3.0rc3 on Linux/Sun JDK1.5.0_04
>     Reporter: Jonn Beames
>     Assignee: Mathias Broekelmann
>  Attachments: myfaces-test.tar.gz
>
> Problem is pretty much the same as described in bug MYFACES-624 except that I'm experiencing
it with the selectManyListbox.  I first encountered this problem when switching to myfaces-1.1.0
from the version shipped with JBoss AS 4.0.3RC2.  Sorry, I don't know what version was in
RC2, but the MD5 sums look like this:
> 41db995e4201acaec1599f8a933926dc  myfaces-api.jar
> 72cf887cb90f6ecfb7405d674de3a7cf  myfaces-impl.jar
> I just tried again with the 20051019 nightly build and run into the same converter getAsString
problem.
> For more on my particular setup, see:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70678

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message