From a175ca56464548865ad102ff01e63612381b0ce5 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Wed, 30 May 2012 15:48:04 -0700 Subject: [PATCH] CSPACE-5012: Tenant unqualify the docType prior to using it to construct the collectionspace_core:uri value; previous commit to TemplateExpander didn't do this. --- .../org/collectionspace/services/imports/TemplateExpander.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 f8d057138..3c7aa9c2d 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 @@ -158,8 +158,9 @@ public class TemplateExpander { // We may have been supplied with the tenant-qualified name // of an extension to a document type, and thus need to // get the base document type name. + docType = ServiceBindingUtils.getUnqualifiedTenantDocType(docType); ServiceBindingType sb = - tReader.getServiceBindingForDocType(tenantId, ServiceBindingUtils.getUnqualifiedTenantDocType(docType)); + tReader.getServiceBindingForDocType(tenantId, docType); String serviceCategory = sb.getType(); String uri = ""; -- 2.47.3