This is an automated email from the ASF dual-hosted git repository.
rmannibucau pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwebbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 42cf3d7 [OWB-1341] Event bus: IN_PROGRESS phase should not be sent to
transactionService
new 756fdc5 Merge pull request #29 from cocorossello/master
42cf3d7 is described below
commit 42cf3d72d40089439c7fd1d69e5d9b1f8e5b6efe
Author: vrossello
AuthorDate: Thu Jul 23 09:24:18 2020 +0200
[OWB-1341] Event bus: IN_PROGRESS phase should not be sent to
transactionService
---
.../src/main/java/org/apache/webbeans/event/NotificationManager.java| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
b/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
index 8c7eea0..7c7ae7c 100644
---
a/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
+++
b/webbeans-impl/src/main/java/org/apache/webbeans/event/NotificationManager.java
@@ -714,7 +714,7 @@ public final class NotificationManager
{
TransactionPhase phase = observer.getTransactionPhase();
-if (phase == null || phase != TransactionPhase.IN_PROGRESS)
+if (phase == null || phase == TransactionPhase.IN_PROGRESS)
{
invokeObserverMethod(context, observer);
}