From 10e274255a83486395f9f3b773b716537458bb51 Mon Sep 17 00:00:00 2001 From: Kristin Date: Wed, 12 Jun 2019 10:41:52 -0400 Subject: [PATCH] Replace https:// along with http:// when assigning type https://github.com/cassproject/cass-editor/issues/582 --- src/main/resources/c-adapter/asn/asn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/c-adapter/asn/asn.js b/src/main/resources/c-adapter/asn/asn.js index 4a40ed452..8b9a516b9 100644 --- a/src/main/resources/c-adapter/asn/asn.js +++ b/src/main/resources/c-adapter/asn/asn.js @@ -346,7 +346,7 @@ function importFrameworkToCass(frameworkObj, competencyList) { this.dataStreams.put("signatureSheet", new java.io.StringBufferInputStream(EcIdentityManager.signatureSheetFor(c.owner, 60000, c.id))); skyrepoPut.call(this, { obj: c.toJson(), - type: c.getFullType().replace("http://", "").replaceAll("/", "."), + type: c.getFullType().replace("http://", "").replace("https://", "").replaceAll("/", "."), id: compGuid, version: compVersion }); @@ -393,7 +393,7 @@ function importFrameworkToCass(frameworkObj, competencyList) { this.dataStreams.put("signatureSheet", new java.io.StringBufferInputStream(EcIdentityManager.signatureSheetFor(f.owner, 60000, f.id))); skyrepoPut.call(this, { obj: f.toJson(), - type: f.getFullType().replace("http://", "").replaceAll("/", "."), + type: f.getFullType().replace("http://", "").replace("https://", "").replaceAll("/", "."), id: guid, version: version });