Jolien, I saved the patch file as you suggested, but now when I run “git apply --check ./dspace_6x.patch”, the response is “error: unrecognized input”.
Thanks again for your help. Glenn From: dspace-tech@googlegroups.com [mailto:dspace-tech@googlegroups.com] On Behalf Of Jolien (Atmire) Sent: Tuesday, February 11, 2020 4:12 AM To: DSpace Technical Support <dspace-tech@googlegroups.com> Subject: Re: [dspace-tech] Re: ORCID Patch Functionality Missing Hi Glenn, No, when we applied this to a vanilla DSpace, we did not get an error. Did you make sure that when you saved the file, it was saved under the patch format? I did notice that, when you copy and paste, the default selected format is plain text. If you start from this page: https://github.com/atmire/expanded-ORCID-support/tree/master/patches<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fatmire%2Fexpanded-ORCID-support%2Ftree%2Fmaster%2Fpatches&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281101036&sdata=aPwcKvv%2Fmmxtku8LW1i143YLICqbKFwaz0rdXQ4BhjQ%3D&reserved=0>, click right on the patch version you need and then select "save link as", the default selected format should be the patch one. The documentation has been adjusted to reflect that approach. Best wishes, Jolien On Monday, February 10, 2020 at 5:58:58 PM UTC+1, Glenn G wrote: Hello, Jolien, Thanks for the update. I downloaded, or more correctly, copied and pasted the patch text to a file on my test server. I ran “git apply --check <patch>” as instructed, and I get the following error messages. Is this also your experience? I wait to apply the patch until I hear from you. Thanks, Glenn [root@rctest dspace-6.3-release]# git apply --check ./dspace_6x_orcid.patch error: missing binary patch data for 'dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/images/orcid_icon.png' error: binary patch does not apply to 'dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/images/orcid_icon.png' error: dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/images/orcid_icon.png: patch does not apply error: missing binary patch data for 'dspace/modules/xmlui/src/main/webapp/themes/Mirage/images/orcid_icon.png' error: binary patch does not apply to 'dspace/modules/xmlui/src/main/webapp/themes/Mirage/images/orcid_icon.png' error: dspace/modules/xmlui/src/main/webapp/themes/Mirage/images/orcid_icon.png: patch does not apply From: dspac...@googlegroups.com<javascript:> [mailto:dspac...@googlegroups.com<javascript:>] On Behalf Of Jolien (Atmire) Sent: Monday, February 10, 2020 9:02 AM To: DSpace Technical Support <dspac...@googlegroups.com<javascript:>> Subject: [dspace-tech] Re: ORCID Patch Functionality Missing Dear Glenn, We were able to reproduce your problem by creating the patch through the GitHub UI compare. The problem is that it comes through as straight text this way, whereas we would need a .patch file if we want the file with the ORCID badge to be included as well. To mitigate the issue, we have created the relevant patch files for both DSpace 5 and 6. We have also updated the download link in the patch documentation so that it links to those patches instead of the compare view. For reference, here is the link for the DSpace 6 version: https://github.com/atmire/expanded-ORCID-support/blob/master/patches/dspace_6x.patch<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fatmire%2Fexpanded-ORCID-support%2Fblob%2Fmaster%2Fpatches%2Fdspace_6x.patch&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281111029&sdata=JSYqAhVk7NiTKC13FL0U67KTQ6EvT2EDxCh77wpVLBM%3D&reserved=0>. In case you would like to create the patch yourself, you can find the instructions on how to do this here: https://atmire.github.io/expanded-ORCID-support/#/prerequisites?id=download-patch<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fatmire.github.io%2Fexpanded-ORCID-support%2F%23%2Fprerequisites%3Fid%3Ddownload-patch&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281111029&sdata=aH%2FMtmDZE3hOdqnZDikS4wUwKbdOIaACH6yE4sAuSuY%3D&reserved=0>. If you try to apply the patch with the .patch file, the ORCID badge file should be added correctly. Please do let me know if this does not work. Best wishes, Jolien On Tuesday, January 21, 2020 at 10:36:18 AM UTC+1, Jolien (Atmire) wrote: Hi again Glenn, Sorry to hear it didn’t work. We’ll try to reproduce your problem on a fresh instal, that may help to trouble shoot further. I’ll keep you informed! Best, Jolien On Friday, January 17, 2020 at 10:58:03 PM UTC+1, Glenn G wrote: Hello, Jolien, I applied the patch to my restored test system today, but unfortunately the results are the same, even with the orcid_icon.png file in place before and after running the patch. When I submit a test document, I can select an author with an ORCID ID and add her to the item submission. When I click the button to submit the item, it takes more than 90 seconds to acknowledge the submission. After the item is submitted, no ORCID icon appears by the author's name and the name is not clickable. Thanks for any help. Glenn On Tuesday, January 14, 2020 at 4:33:13 AM UTC-6, Jolien (Atmire) wrote: Hi Glenn and Alex, Thanks for checking. The orcid_icon.png file should have been added into the right folder automatically when you installed the patch, hence my question about the path. I'll try to do the installation on a vanilla DSpace again to see if it renders the same problem for me. If so, we'll make sure to get this fixed. To already fix the issue on your DSpace right now, you can indeed just download the file and add it to [dspace]/webapps/xmlui/themes/Mirage2/images as Alex already suggested. If that does not work, let me know. Best, Jolien On Monday, January 13, 2020 at 5:52:25 PM UTC+1, Alex Fletcher wrote: Glenn: I downloaded the orcid_icon.png file that Jolene mentioned earlier and put it here: - [dspace]/webapps/xmlui/themes/Mirage2/images That seemed to do the trick for us. Alex On Monday, 13 January 2020 11:11:12 UTC-5, Glenn G wrote: Jolien, Our DSpace installation does not have the path you mentioned. The Mirage2 directory is located here: [dspace]/webapps/xmlui/themes/Mirage2 Our [dspace] directory is not literally "dspace". It has the format, id-dspace. Also, our modules directory is located here: [dspace]/config/modules There are various possible reasons why our installation is different from that anticipated by the patch: - It has been upgraded multiple times. - It was moved to a standalone server after being hosted on a server with several other DSpace installations. - It was originally upgraded to 6.3 using the binary install. I added the [dspace-source] later in order to install patches. Nonetheless, Alex indicates the patch could be installed if I do one or both of the following beforehand: - Put a copy of orcid_icon.png in [dspace]/webapps/xmlui/themes/Mirage2 - Create a directory, [dspace]/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2 and put orcid_icon.png there. Does either approach seem reasonable? Thanks, Glenn On Monday, January 13, 2020 at 2:16:51 AM UTC-6, Jolien (Atmire) wrote: In fact, the file should be contained in the patch. You can see that here (for the DSpace 6 version): https://github.com/atmire/expanded-ORCID-support/blob/stable_6x/dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/images/orcid_icon.png<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fatmire%2Fexpanded-ORCID-support%2Fblob%2Fstable_6x%2Fdspace%2Fmodules%2Fxmlui-mirage2%2Fsrc%2Fmain%2Fwebapp%2Fthemes%2FMirage2%2Fimages%2Forcid_icon.png&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281121024&sdata=Vzs%2BMt26Gwy7Kf2v7HjyRvHUQrgPBe4yqRr%2BXvsJt10%3D&reserved=0>. For some reason, it looks like it is not accessed correctly when you do the installation. What could be happening is that in your DSpace installation, the path dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2 does not exist or exists under a different name. Could you check that? On Tuesday, December 3, 2019 at 12:10:42 AM UTC+1, Glenn G wrote: After applying the ORCID patch, the functionality my users were most interested in is missing. The ORCID logo does not appear next to the author's name, and the name is not clickable, so a list of the author's publications cannot be retrieved from ORCID as promised. The ability to search by ORCID number does now appear in the list of search modifiers, but it only works when the entire number is supplied with the "equals" operand. The patch and functionality are described here: https://atmire.github.io/expanded-ORCID-support/#/<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fatmire.github.io%2Fexpanded-ORCID-support%2F%23%2F&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281121024&sdata=pbXeAVVwGyGSQE95jYeqRhbHpUR8KgXXI1f8iXUw0lU%3D&reserved=0> If you have any idea why the logo and linked name don't appear, please let me know. We are using the Mirage 2 theme. Thanks, Glenn -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fduraspace.org%2Fabout%2Fpolicies%2Fcode-of-conduct%2F&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281131016&sdata=A1PiuQlKBh9M8hLY3p%2FkVhmFYRgCgcskwi6SqkyyqeI%3D&reserved=0> --- You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/t8p_HNm-U2Y/unsubscribe<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fdspace-tech%2Ft8p_HNm-U2Y%2Funsubscribe&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281131016&sdata=v1YFbdG11GD%2FyHchrf7pvEH1AkecvlzOm2HLRcvIAik%3D&reserved=0>. To unsubscribe from this group and all its topics, send an email to dspac...@googlegroups.com<javascript:>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/20d7b46e-3a83-473a-b891-88b2eb3ffd39%40googlegroups.com<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdspace-tech%2F20d7b46e-3a83-473a-b891-88b2eb3ffd39%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281141012&sdata=Pf6XS4rsDXMbw%2FMTSCLpmtk361DKk%2BFLMUHJjOPDp%2Fk%3D&reserved=0>. -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fduraspace.org%2Fabout%2Fpolicies%2Fcode-of-conduct%2F&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281141012&sdata=1mVmExJGuQvBfnTG2mBjyaHGX9zT48dBtvYHMilCGRU%3D&reserved=0> --- You received this message because you are subscribed to a topic in the Google Groups "DSpace Technical Support" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/t8p_HNm-U2Y/unsubscribe<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fdspace-tech%2Ft8p_HNm-U2Y%2Funsubscribe&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281151005&sdata=FLo3pvNmEC%2BNfiunJkgEebSjZn6GDRNJmkxZnseCPbM%3D&reserved=0>. To unsubscribe from this group and all its topics, send an email to dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/ae938134-7d2e-4911-9228-899f4c09ad5a%40googlegroups.com<https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fdspace-tech%2Fae938134-7d2e-4911-9228-899f4c09ad5a%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Cglenn.goodspeed%40uta.edu%7C27962579f9fb4f7a5f8508d7aedad8d8%7C5cdc5b43d7be4caa8173729e3b0a62d9%7C0%7C0%7C637170127281151005&sdata=ayEJokmwJwhQiPDBGnaglSxJz%2Fwo%2Bt3NIItVPUUzeSk%3D&reserved=0>. -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CH2PR01MB60562681604A609742BC5B5DE4180%40CH2PR01MB6056.prod.exchangelabs.com.