[kune-commits] r1736 - trunk/src/main/java/cc/kune/core/server/init

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Mon Mar 5 20:50:32 CET 2012


Author: vjrj_
Date: 2012-03-05 20:50:32 +0100 (Mon, 05 Mar 2012)
New Revision: 1736

Modified:
   trunk/src/main/java/cc/kune/core/server/init/DatabaseInitializer.java
Log:
Trying to find W$ initialize problem

Modified: trunk/src/main/java/cc/kune/core/server/init/DatabaseInitializer.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/init/DatabaseInitializer.java	2012-03-05 19:24:00 UTC (rev 1735)
+++ trunk/src/main/java/cc/kune/core/server/init/DatabaseInitializer.java	2012-03-05 19:50:32 UTC (rev 1736)
@@ -176,9 +176,12 @@
   }
 
   public void initConditional() throws Exception {
+    final Group dummyGroup = new Group("dummygr", "dummygr");
+    groupManager.persist(dummyGroup);
     if (groupManager.count() == 0) {
       initialize();
     }
+    groupManager.remove(dummyGroup);
     translationService.init();
   }
 




More information about the kune-commits mailing list