[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3880) Can't generate seam entities exception is occured if no one table wasn't included in table filter.

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Mon Mar 2 04:26:58 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454900#action_12454900 ] 

Dmitry Geraskov commented on JBIDE-3880:
----------------------------------------

Missing < doesn't call exception. It creates wrong {class-name}List.xhtml file.
This file is not validated, so the error is not visible when we tests.
Use provided schema and test case generate entities(and attendant files).
Go to CustomesList.xhtml and found line:
@outputValue property=componentProperty expression="#{_customers.propertyPath}" indent=12/>
This line from template was not interpreted by freemarker. ("h:outputText" must be generated).
It proofs that we have one more error in templates. And it need to be patched too.

> Can't generate seam entities exception is occured if no one table wasn't included in table filter.
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-3880
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3880
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate, Seam
>    Affects Versions: 3.0.0.GA
>            Reporter: Anton Klimkovich
>            Assignee: Denis Golovin
>            Priority: Blocker
>             Fix For: 3.0.0.GA
>
>         Attachments: exception.txt, exception2.txt, schema.sql, SeamGenerateEntities.PNG
>
>
> EXECUTE: Create Seam web project
> EXECUTE: Connect to existent DB
> EXECUTE: New -> Seam Generate Entities
> EXECUTE: Press Refresh button 
> ASSERT:    All tables from DB should appear
> EXECUTE: Press Finish button without including any table to Table Filter.
> FAILURE:   Can't generate seam entities exception is occured.

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

        



More information about the jbosstools-issues mailing list