Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3933

PubmedImportMetadataSourceService uses deprecated URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3, 7.0
    • Component/s: API, XMLUI
    • Labels:
      None
    • Environment:
      DSpace 6.2 on Tomcat, Windows 7
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      The PubmedImportMetadataSourceServiceImpl and associated classes (used by the XMLUIStartSubmissionLookupStep, see https://wiki.duraspace.org/display/DSDOC6x/2016+Framework+for+live+import+from+external+sources#id-2016Frameworkforliveimportfromexternalsources-PubMedIntegration) uses a deprecated http:// endpoint. The respective server responds with "301 - Moved permanently" and refers to the https:// endpoint. This causes the SubmissionLookupStep to fail without any user feedback. In 6.2 the SubmissionLookupStep is an optional feature that has to be activated by an administrator.

      The PubMed endpoints are present in the current 6.2 release as well as the 7.0 master branch. In my dev environment I could resolve the bug by changing all endpoints that started with http://eutils.ncbi.nlm.nih.gov/entrez/eutils/ to https://eutils.ncbi.nlm.nih.gov/entrez/eutils/. The files affected by this are

      dspace/config/modules/publication-lookup.cfg
      dspace-api/src/main/java/org/dspace/importer/external/pubmed/service/PubmedImportMetadataSourceServiceImpl.java
      dspace-api/src/main/java/org/dspace/submit/lookup/PubmedService.java
      dspace-api/src/main/resources/spring/spring-dspace-addon-import-services.xml

        Attachments

          Activity

            People

            • Assignee:
              tdonohue Tim Donohue
              Reporter:
              hgessner Hendrik Geßner
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: