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

Martin Kouba (JIRA) issues at jboss.org
Wed Nov 26 06:16:39 EST 2014


Martin Kouba created WFLY-4127:
----------------------------------

             Summary: @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