From 6d6dad5a4408591f20ee57e753eeb47879085700 Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Wed, 22 Nov 2023 15:47:05 +0100 Subject: [PATCH 1/2] Updated `handle.canonical.prefix` to hdl handle. --- dspace/config/dspace.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dspace/config/dspace.cfg b/dspace/config/dspace.cfg index 20e010d72bf2..40ab09083b41 100644 --- a/dspace/config/dspace.cfg +++ b/dspace/config/dspace.cfg @@ -305,7 +305,7 @@ identifier.doi.namespaceseparator = dspace/ # # Items in DSpace receive a unique URL, stored in dc.identifier.uri # after it is generated during the submission process. -handle.canonical.prefix = ${dspace.ui.url}/handle/ +handle.canonical.prefix = http://hdl.handle.net/ # If you register with CNRI's handle service at https://www.handle.net/, # these links can be generated as permalinks using https://hdl.handle.net/ From 6f87813f7d61396534d75a4db732cbdc0716e10b Mon Sep 17 00:00:00 2001 From: milanmajchrak Date: Wed, 22 Nov 2023 16:03:58 +0100 Subject: [PATCH 2/2] Integration test cannot have changed handle.canonical.prefix. --- dspace-api/src/test/data/dspaceFolder/config/local.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dspace-api/src/test/data/dspaceFolder/config/local.cfg b/dspace-api/src/test/data/dspaceFolder/config/local.cfg index 84f89de4398f..c4c61bf77ff6 100644 --- a/dspace-api/src/test/data/dspaceFolder/config/local.cfg +++ b/dspace-api/src/test/data/dspaceFolder/config/local.cfg @@ -271,3 +271,5 @@ lr.pid.community.configurations = community=*, prefix=123456789, type=local, can #### Authority configuration `authority.cfg` authority.controlled.dc.relation = true + +handle.canonical.prefix = ${dspace.ui.url}/handle/ \ No newline at end of file