Merged V2.0 to HEAD

5091:  AWC-1118
   5092:  pooledactor assignment
   5100:  AWC-1133
   5103:  CML copy and cm:name
   5106:  Bubble view discussion topics
   5107:  AWC-1030, AWC-1137, Console buttons


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley 2007-03-06 13:20:00 +00:00
parent 20068f981b
commit 563ca10bea

View File

@ -159,10 +159,18 @@ public class AlfrescoAssignment extends JBPMSpringAssignmentHandler
}
assignedPooledActors = new String[] {actor};
}
else if (eval instanceof String)
{
assignedPooledActors = new String[] {(String)eval};
}
else
{
assignedPooledActors[0] = pooledactorValStr;
throw new WorkflowException("pooledactors expression does not evaluate to a collection of authorities");
}
}
else
{
assignedPooledActors = new String[] {pooledactorValStr};
}
}
}