incubator-esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdic...@apache.org
Subject svn commit: r885101 - /incubator/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala
Date Sat, 28 Nov 2009 15:22:57 GMT
Author: vdichev
Date: Sat Nov 28 15:22:56 2009
New Revision: 885101

URL: http://svn.apache.org/viewvc?rev=885101&view=rev
Log:
Fix bug in findMessages cache.

Modified:
    incubator/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala

Modified: incubator/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala?rev=885101&r1=885100&r2=885101&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/org/apache/esme/model/Message.scala Sat Nov
28 15:22:56 2009
@@ -72,6 +72,7 @@
       (Map.empty, Nil)) {
       case ((map, left), id) =>
         if (idCache.contains(id) && (!user.isDefined || 
+                                     !idCache(id).pool.defined_? ||
                                      Privilege.findViewablePools(user.get.id.is).
                                                contains(idCache(id).pool.is))) {
           (map + (id -> idCache(id)), left)



Mime
View raw message