[weld-issues] [JBoss JIRA] (CDITCK-172) Tests needed for transactional observers that initiate, commit or rollback transactions

Martin Kouba (JIRA) jira-events at lists.jboss.org
Thu Jan 26 08:09:49 EST 2012


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

Martin Kouba commented on CDITCK-172:
-------------------------------------

bq. At the moment, the specification does not really specify what happens if an observer method does make these calls.

Yes. It's not testable right now. The spec should be clarified.
                
> Tests needed for transactional observers that initiate, commit or rollback transactions
> ---------------------------------------------------------------------------------------
>
>                 Key: CDITCK-172
>                 URL: https://issues.jboss.org/browse/CDITCK-172
>             Project: CDI TCK
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.2.CR1
>            Reporter: David Allen
>            Priority: Minor
>             Fix For: 1.1.0.CR1
>
>
> Tests for the following assertion can be implemented and require the container to provide its own UserTransaction to prohibit the calls from succeeding:
> 10.5 (bd)
>       An observer method may not directly initiate, commit or rollback JTA transactions.
> At the moment, the specification does not really specify what happens if an observer method does make these calls.

--
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 weld-issues mailing list