From e2954f4a322127258908fc4cb80432da0715de77 Mon Sep 17 00:00:00 2001 From: johnhuck Date: Wed, 3 Jun 2020 18:51:23 -0600 Subject: [PATCH 1/4] Update codebook2-0.xsl Replacing a hardcoded value with an XPath acquired value. I have made a presumption that the distributor name is the appropriate element to present here, since it is paired with the DOI value. This is my first Dataverse pull request, so let me know if I am missing a step or whatever. --- src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl b/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl index 5941e3712d0..b42c339ed9e 100644 --- a/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl +++ b/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl @@ -177,7 +177,7 @@ font-size: 10pt;

-  (ICPSR  ( )
()

From 6a0563d00c078531bbc29651b696718f5bf573c1 Mon Sep 17 00:00:00 2001 From: johnhuck Date: Fri, 5 Jun 2020 13:26:39 -0600 Subject: [PATCH 2/4] Update codebook2-0.xsl Removing the XSLT that inserted the Distributor name at line 180. --- src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl b/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl index b42c339ed9e..b913874398b 100644 --- a/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl +++ b/src/main/resources/edu/harvard/iq/dataverse/codebook2-0.xsl @@ -177,7 +177,7 @@ font-size: 10pt;

-  (  ()
()

From ff025fd1ea090d8c1d018a45b2cb708c726ca316 Mon Sep 17 00:00:00 2001 From: johnhuck Date: Mon, 8 Jun 2020 13:17:02 -0600 Subject: [PATCH 3/4] Update dct_codebook.html Removing "ICPSR" string so that the stylesheet change I made in https://github.com/IQSS/dataverse/pull/6963 will pass the automation test. --- src/test/resources/html/dct_codebook.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/html/dct_codebook.html b/src/test/resources/html/dct_codebook.html index 525e5eef49d..1ef5b853536 100644 --- a/src/test/resources/html/dct_codebook.html +++ b/src/test/resources/html/dct_codebook.html @@ -155,7 +155,7 @@ -

dct html (ICPSR doi:10.5072/FK2/SOLYMR)

+

dct html (doi:10.5072/FK2/SOLYMR)

From 9250585af9472e4d47a2e525845eb060b65efc9c Mon Sep 17 00:00:00 2001 From: johnhuck Date: Thu, 18 Jun 2020 09:02:56 -0600 Subject: [PATCH 4/4] Adding release note --- doc/release-notes/6959-html-codebook.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/release-notes/6959-html-codebook.md diff --git a/doc/release-notes/6959-html-codebook.md b/doc/release-notes/6959-html-codebook.md new file mode 100644 index 00000000000..beea9957506 --- /dev/null +++ b/doc/release-notes/6959-html-codebook.md @@ -0,0 +1 @@ +A small correction has been made to the stylesheet that generates the DDI HTML Codebook metadata export to remove a hard-coded reference to ICPSR. In order for previously published and exported datasets to reflect this correction, run ReExportAll as part of the upgrade process with `curl http://localhost:8080/api/admin/metadata/reExportAll`.