Author: batosai
Date: 2008-08-31 15:32:25 +0000 (Sun, 31 Aug 2008)
New Revision: 22279

Modified:
   trunk/apps/WoT/src/plugins/WoT/WoT.java
Log:
Found the cause of bug #2536, still have to figure out how to solve it.

Modified: trunk/apps/WoT/src/plugins/WoT/WoT.java
===================================================================
--- trunk/apps/WoT/src/plugins/WoT/WoT.java     2008-08-31 15:13:02 UTC (rev 
22278)
+++ trunk/apps/WoT/src/plugins/WoT/WoT.java     2008-08-31 15:32:25 UTC (rev 
22279)
@@ -59,7 +59,8 @@

                Logger.debug(this, "Handling : " + newTrust);

-               ObjectSet<Trust> trustResult = db.queryByExample(new 
Trust(newTrust.getTruster(), newTrust.getTrustee(), 0));
+               // FIXME For some reason this never works and we keep 
creating/storing new Trust objects !
+               ObjectSet<Trust> trustResult = db.queryByExample(new 
Trust(newTrust.getTruster(), newTrust.getTrustee(), 0, null));
                if(trustResult.size() != 0) { // We are updating a existing 
trust relationship
                        Trust oldTrust = trustResult.next();



Reply via email to