From: Ray Lee Date: Wed, 30 May 2012 05:09:50 +0000 (-0700) Subject: CSPACE-5012: Use unqualified doctype in call to getServiceBindingForDocType. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=f79fb3ea94d9fc90a232cbaa8cde36a136e449a9;p=tmp%2Fjakarta-migration.git CSPACE-5012: Use unqualified doctype in call to getServiceBindingForDocType. --- diff --git a/services/imports/service/src/main/java/org/collectionspace/services/imports/TemplateExpander.java b/services/imports/service/src/main/java/org/collectionspace/services/imports/TemplateExpander.java index 4dd61f986..dcfd5ba3e 100644 --- a/services/imports/service/src/main/java/org/collectionspace/services/imports/TemplateExpander.java +++ b/services/imports/service/src/main/java/org/collectionspace/services/imports/TemplateExpander.java @@ -155,8 +155,8 @@ public class TemplateExpander { final String PROCEDURE_SERVICE_CATEGORY = "procedure"; TenantBindingConfigReaderImpl tReader = ServiceMain.getInstance().getTenantBindingConfigReader(); - ServiceBindingType sb = tReader.getServiceBindingForDocType(tenantId, docType); - + ServiceBindingType sb = tReader.getServiceBindingForDocType(tenantId, ServiceBindingUtils.getUnqualifiedTenantDocType(docType)); + String serviceCategory = sb.getType(); String uri = ""; if (serviceCategory.equalsIgnoreCase(AUTHORITY_SERVICE_CATEGORY)) {