[seam-issues] [JBoss JIRA] (JBSEAM-5038) seam-gen generated project, editing ManyToOne relationship doesn't work

Marek Novotny (JIRA) jira-events at lists.jboss.org
Wed Sep 19 15:55:34 EDT 2012

    [ https://issues.jboss.org/browse/JBSEAM-5038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720060#comment-12720060 ] 

Marek Novotny commented on JBSEAM-5038:

The problem is in changed JSF 2 processing wrt RESTORE VIEW. 
This change causes that VehicleHome is recreated in RestoreView and Vehicle instance refreshes from DB, so reference to Person instance is lost even it is still available in the conversation in PersonHome, but that is not in SMPC expected due MANUAL FLUSH mode for PersistentContext.

This affects Seam framework special classes - EntityHome and HibernateEntityHome, which needs to be updated to can react on that.

> seam-gen generated project, editing ManyToOne relationship doesn't work
> -----------------------------------------------------------------------
>                 Key: JBSEAM-5038
>                 URL: https://issues.jboss.org/browse/JBSEAM-5038
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 2.3.0.CR1
>         Environment: MySQL 5, AS7.1.1
>            Reporter: Marek Schmidt
>            Assignee: Marek Novotny
>             Fix For: 2.3.0.Final
>         Attachments: dump.sql, seam-gen.properties
> Seam-gen generated project with two entities (Vehicle and Person) with a ManyToOne relationship doesn't work. Editing a "vehicle" and assigning a "person" doesn't seem to work.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the seam-issues mailing list