Author: dward
Date: 2008-01-15 17:44:02 +0100 (Tue, 15 Jan 2008)
New Revision: 6844

Modified:
   
xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java
Log:
- CURRIKI-1413
 - One more spot to check the destined space name instead of the temporary 
space name.

Modified: 
xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java
===================================================================
--- 
xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java
       2008-01-15 16:14:51 UTC (rev 6843)
+++ 
xwiki-products/curriki/trunk/gwt/src/main/java/org/curriki/gwt/server/CurrikiServiceImpl.java
       2008-01-15 16:44:02 UTC (rev 6844)
@@ -203,7 +203,7 @@
             String rights = Constants.RIGHT_PUBLIC;
 
             // TODO: This should probably be using the SpaceManager extension
-            XWikiDocument spaceDoc = 
context.getWiki().getDocument(doc.getSpace()+"."+Constants.GROUP_RIGHTS_PAGE, 
context);
+            XWikiDocument spaceDoc = 
context.getWiki().getDocument(space+"."+Constants.GROUP_RIGHTS_PAGE, context);
             if (spaceDoc != null){
                 // Note that the values for the group access defaults
                 //  DO NOT MATCH the values that need to be applied to the 
collection

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to