You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by ma...@apache.org on 2013/02/01 15:16:08 UTC
svn commit: r1441452 -
/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java
Author: massi
Date: Fri Feb 1 14:16:08 2013
New Revision: 1441452
URL: http://svn.apache.org/viewvc?rev=1441452&view=rev
Log:
SYNCOPE-306 added right check on virtual attribute
Modified:
syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java
Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java?rev=1441452&r1=1441451&r2=1441452&view=diff
==============================================================================
--- syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java (original)
+++ syncope/trunk/core/src/main/java/org/apache/syncope/core/rest/data/AbstractAttributableDataBinder.java Fri Feb 1 14:16:08 2013
@@ -273,7 +273,7 @@ public abstract class AbstractAttributab
}
}
for (AbstractVirSchema virSchema : virSchemaDAO.findAll(attrUtil.virSchemaClass())) {
- if (attributable.getAttribute(virSchema.getName()) == null
+ if (attributable.getVirtualAttribute(virSchema.getName()) == null
&& evaluateMandatoryCondition(attrUtil, attributable, virSchema.getName(),
attrUtil.virIntMappingType())) {