[jboss-jira] [JBoss JIRA] (WFLY-4127) @TransactionAttribute ignored on SFSB PostConstruct lifecycle callback

Stuart Douglas (JIRA) issues at jboss.org
Tue Dec 2 22:43:39 EST 2014


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

Stuart Douglas commented on WFLY-4127:
--------------------------------------

What exactly is the behaviour you are seeing? I added a quick test for this to our test suite and it passed: https://github.com/stuartwdouglas/wildfly/compare/WFLY-4127

> @TransactionAttribute ignored on SFSB PostConstruct lifecycle callback
> ----------------------------------------------------------------------
>
>                 Key: WFLY-4127
>                 URL: https://issues.jboss.org/browse/WFLY-4127
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>            Reporter: Martin Kouba
>            Assignee: Stuart Douglas
>
> This is a regression introduced in this commit:
> https://github.com/wildfly/wildfly/commit/456a624d98eaa5f5fc016ad7520290177e3771f6
> Most probably {{StatefulComponentDescription}} should not pass treatRequiredAsRequiresNew=false to {{org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.Factory}} constructor.
> There is a CDI TCK test which can be used as a reproducer:
> https://github.com/cdi-spec/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/interceptors/tests/contract/lifecycleCallback/LifecycleCallbackInterceptorTest.java



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jboss-jira mailing list