openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r1685641 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
Date Mon, 15 Jun 2015 17:28:42 GMT
Author: gpetracek
Date: Mon Jun 15 17:28:41 2015
New Revision: 1685641

URL: http://svn.apache.org/r1685641
Log:
OWB-1081 check Reception.IF_EXISTS in case of an inactive context

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java?rev=1685641&r1=1685640&r2=1685641&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/event/ObserverMethodImpl.java
Mon Jun 15 17:28:41 2015
@@ -253,6 +253,10 @@ public class ObserverMethodImpl<T> imple
                 }
                 catch (ContextNotActiveException cnae)
                 {
+                    if (ifExist)
+                    {
+                        return;
+                    }
                     // this may happen if we try to e.g. send an event to a @ConversationScoped
bean from a ServletListener
                     logger.log(Level.INFO, OWBLogConst.INFO_0010, bean);
                     return;



Mime
View raw message