[seam-issues] [JBoss JIRA] (JBSEAM-4909) Cannot generate Seam entities in JBDS

Marek Novotny (JIRA) jira-events at lists.jboss.org
Tue Mar 20 12:44:48 EDT 2012


     [ https://issues.jboss.org/browse/JBSEAM-4909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Novotny resolved JBSEAM-4909.
-----------------------------------

      Assignee: Marek Novotny
    Resolution: Done


Fixed seam-gen/util/TypeInfo.ftl.
                
> Cannot generate Seam entities in JBDS
> -------------------------------------
>
>                 Key: JBSEAM-4909
>                 URL: https://issues.jboss.org/browse/JBSEAM-4909
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Tools
>         Environment: Seam 2.3.0-SNAPSHOT 20120319, JBDS 5.0.0.Beta1
>            Reporter: Tomas Remes
>            Assignee: Marek Novotny
>             Fix For: 2.3.0.BETA1
>
>
> Generating Seam entities causes following error message in JBDS: 
> {noformat}
> Can't generate seam entities
> org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: org.domain.testseam.entity.Vehicle with template view/list.xhtml.ftl
> Error while processing Entity: org.domain.testseam.entity.Vehicle with template view/list.xhtml.ftl
> org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity: org.domain.testseam.entity.Vehicle with template view/list.xhtml.ftl
> Error while processing Entity: org.domain.testseam.entity.Vehicle with template view/list.xhtml.ftl
> freemarker.core.InvalidReferenceException: Expression property.value.typeName is undefined on line 27, column 18 in util/TypeInfo.ftl.
> Expression property.value.typeName is undefined on line 27, column 18 in util/TypeInfo.ftl.
> {noformat} 
> Switching back to:
> {noformat} <#return property.value.class.name.matches("org.hibernate.mapping.(One|Many)ToOne")/> {noformat}
> in seam-gen/util/TypeInfo.ftl works fine. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list