mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
SAIL-348 : Reorder rules returns 200 OK but with error message
- This fix includees some refactoring - Tests updated git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -806,8 +806,11 @@ public class RuleServiceImpl
|
|||||||
{
|
{
|
||||||
orderedAssocs.add(assoc);
|
orderedAssocs.add(assoc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
orderedAssocs.add(index, movedAssoc);
|
if (movedAssoc != null)
|
||||||
|
{
|
||||||
|
orderedAssocs.add(index, movedAssoc);
|
||||||
|
}
|
||||||
|
|
||||||
index = 0;
|
index = 0;
|
||||||
for (ChildAssociationRef orderedAssoc : orderedAssocs)
|
for (ChildAssociationRef orderedAssoc : orderedAssocs)
|
||||||
|
Reference in New Issue
Block a user