Fixed failing Activiti Workflow tests.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-10-10 10:55:51 +00:00
parent 82469c674f
commit 002183da91
2 changed files with 19 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ import java.util.Map;
import org.alfresco.repo.i18n.MessageService;
import org.alfresco.repo.jscript.ScriptNode;
import org.alfresco.repo.tenant.MultiTServiceImpl;
import org.alfresco.repo.tenant.TenantService;
import org.alfresco.service.cmr.dictionary.DictionaryService;
import org.alfresco.service.cmr.dictionary.TypeDefinition;
@@ -340,7 +341,7 @@ public class WorkflowObjectFactory
public Boolean apply(T value)
{
String key = processKeyGetter.apply(value);
String domain = tenantService.getDomain(key, false);
String domain = MultiTServiceImpl.getMultiTenantDomainName(key);
return (currentDomain.equals(domain));
}
});