[cdi-dev] Proposal regarding CDI-705

Antoine Sabot-Durand asabotdu at redhat.com
Wed Jun 7 08:21:05 EDT 2017


Hi all,

It seems that we introduced a mistake in CDI 2.0 regarding its alignment with JTA. See https://issues.jboss.org/browse/CDI-705

Transactional observer bound to BEFORE_COMPLETION shouldn’t be triggered if the transaction is rolled back or marked for roll back.

I suggest that we skip the matching test in the TCK [1] and allow impl to skip this rule and align on JTA.

JTA should be corrected in a coming MR.

Thanks for your feedback



Antoine




[1] https://github.com/cdi-spec/cdi-tck/blob/master/impl/src/main/java/org/jboss/cdi/tck/tests/event/observer/transactional/roolback/TransactionalObserverRollbackTest.java

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20170607/2c8fee12/attachment.html 


More information about the cdi-dev mailing list