[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-47) Default scaffolding does not generate working Update or Delete actions

Mario Marques Junior (JIRA) jira-events at lists.jboss.org
Thu Apr 14 15:33:33 EDT 2011


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

Mario Marques Junior commented on SEAMFORGE-47:
-----------------------------------------------

Arquillian made me add {{getEntityManager().joinTransaction();}} on {{create()}} too, because of this test:

{code}
@Test
public void shouldGetList() throws Exception {
	bean.create();
	bean.setSeamBean(new SeamBean());
	bean.create();

	assertEquals(2, bean.getList().size());
}
{code}

Maybe I should reinject the bean to simulate the {{@RequestScoped}} behavior, but looks less natural for me.

> Default scaffolding does not generate working Update or Delete actions
> ----------------------------------------------------------------------
>
>                 Key: SEAMFORGE-47
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-47
>             Project: Seam Forge
>          Issue Type: Bug
>          Components: Builtin Plugins
>    Affects Versions: 1.0.0.Alpha2
>            Reporter: Lincoln Baxter III
>            Assignee: Lincoln Baxter III
>             Fix For: 1.0.0.Alpha4
>
>         Attachments: PersistenceUtil.jv, view.xhtml
>
>
> 'Cancel' does not do anything
> 'Delete' does not delete
> 'Save' does not take you back to the summary view

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-dev mailing list