mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -160,6 +160,8 @@ import org.springframework.beans.PropertyAccessException;
|
|||||||
constraintDef.resolveDependencies(query);
|
constraintDef.resolveDependencies(query);
|
||||||
// just use the constraint provided by the referenced definition
|
// just use the constraint provided by the referenced definition
|
||||||
this.constraint = constraintDef.getConstraint();
|
this.constraint = constraintDef.getConstraint();
|
||||||
|
//use real constraint name instead of anonymous name
|
||||||
|
this.name = constraintDef.getName();
|
||||||
|
|
||||||
if (m2Constraint.getTitle() == null)
|
if (m2Constraint.getTitle() == null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user