You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by cs...@apache.org on 2013/01/30 19:02:22 UTC

svn commit: r1440563 - /syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java

Author: cschneider
Date: Wed Jan 30 18:02:22 2013
New Revision: 1440563

URL: http://svn.apache.org/viewvc?rev=1440563&view=rev
Log:
SYNCOPE-231 Bugfix for delete

Modified:
    syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java

Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java?rev=1440563&r1=1440562&r2=1440563&view=diff
==============================================================================
--- syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java (original)
+++ syncope/trunk/core/src/main/java/org/apache/syncope/core/services/UserRequestServiceImpl.java Wed Jan 30 18:02:22 2013
@@ -59,7 +59,7 @@ public class UserRequestServiceImpl impl
         } else if (userRequestTO.getType() == UserRequestType.UPDATE) {
             outUserRequestTO = userRequestController.update(userRequestTO.getUserMod());
         } else if (userRequestTO.getType() == UserRequestType.DELETE) {
-            userRequestController.delete(userRequestTO.getUserId());
+            outUserRequestTO = userRequestController.delete(userRequestTO.getUserId());
         }
         URI location = uriInfo.getAbsolutePathBuilder().path("" + outUserRequestTO.getId()).build();
         return Response.created(location)