mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for failing test cases: most of DiscussionServiceTest.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -63,7 +63,7 @@ public class CommentServiceImpl implements CommentService
|
||||
|
||||
NodeRef result = null;
|
||||
for (ChildAssociationRef parentAssoc = nodeService.getPrimaryParent(descendantNodeRef);
|
||||
parentAssoc != null;
|
||||
parentAssoc != null && parentAssoc.getParentRef() != null;
|
||||
parentAssoc = nodeService.getPrimaryParent(parentAssoc.getParentRef()))
|
||||
{
|
||||
if (nodeService.hasAspect(parentAssoc.getParentRef(), ForumModel.ASPECT_DISCUSSABLE))
|
||||
|
Reference in New Issue
Block a user