ALFCOM-3494 - ConstraintDefinition.getName should return real constraint name

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17079 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2009-10-22 09:49:40 +00:00
parent dc1440a869
commit 46dee0999d

View File

@@ -160,6 +160,8 @@ import org.springframework.beans.PropertyAccessException;
constraintDef.resolveDependencies(query);
// just use the constraint provided by the referenced definition
this.constraint = constraintDef.getConstraint();
//use real constraint name instead of anonymous name
this.name = constraintDef.getName();
if (m2Constraint.getTitle() == null)
{