Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-170

TransactionalObserversTest uses bean managed transactions and cannot test propagation

    Details

      Description

      org.jboss.jsr299.tck.tests.event.observer.transactional.TransactionalObserversTest uses two BMT stateless beans: DogAgent and DogTrainer.

      However,when a BMT business method is invoked, the existing transaction is suspended, therefore the observer methods will be executed outside the scope of the transaction in which the event has been fired.

      Also, when the transaction is rolled back b/c of the observer setting the flag during commit(), we expect the commit method to throw a RollbackException.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dallen6 David Allen
                  Reporter:
                  marius.bogoevici Marius Bogoevici
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: