Merge pull request #7929 from TexasDigitalLibrary/DS-3643-7x

DS-3643: Use correct license on ingest (7.x)
This commit is contained in:
Tim Donohue
2021-09-03 10:19:12 -05:00
committed by GitHub

View File

@@ -183,7 +183,7 @@ public class PackageUtils {
Item item, Collection collection) Item item, Collection collection)
throws SQLException, IOException, AuthorizeException { throws SQLException, IOException, AuthorizeException {
if (license == null) { if (license == null) {
license = collection.getLicenseCollection(); license = collectionService.getLicense(collection);
} }
InputStream lis = new ByteArrayInputStream(license.getBytes()); InputStream lis = new ByteArrayInputStream(license.getBytes());