You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by md...@apache.org on 2012/02/29 14:36:41 UTC

svn commit: r1295098 - /incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/controller/VirtualSchemaController.java

Author: mdisabatino
Date: Wed Feb 29 13:36:41 2012
New Revision: 1295098

URL: http://svn.apache.org/viewvc?rev=1295098&view=rev
Log:
SYNCOPE-11 #resolve Fixed Virtual Attribute update

Modified:
    incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/controller/VirtualSchemaController.java

Modified: incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/controller/VirtualSchemaController.java
URL: http://svn.apache.org/viewvc/incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/controller/VirtualSchemaController.java?rev=1295098&r1=1295097&r2=1295098&view=diff
==============================================================================
--- incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/controller/VirtualSchemaController.java (original)
+++ incubator/syncope/trunk/core/src/main/java/org/syncope/core/rest/controller/VirtualSchemaController.java Wed Feb 29 13:36:41 2012
@@ -132,11 +132,11 @@ public class VirtualSchemaController ext
             @PathVariable("kind") final String kind)
             throws SyncopeClientCompositeErrorException, NotFoundException {
 
-        Class reference = getAttributableUtil(kind).derivedSchemaClass();
+        Class reference = getAttributableUtil(kind).virtualSchemaClass();
         AbstractVirSchema virtualSchema =
                 virtualSchemaDAO.find(virtualSchemaTO.getName(), reference);
         if (virtualSchema == null) {
-            LOG.error("Could not find derived schema '"
+            LOG.error("Could not find virtual schema '"
                     + virtualSchemaTO.getName() + "'");
             throw new NotFoundException(virtualSchemaTO.getName());
         }