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

References to bitstreams not from the 'ORIGINAL' bundle are shown in harvested items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.1, 3.0
    • Component/s: XMLUI
    • Labels:
      None
    • Attachments:
      2
    • Comments:
      9

      Description

      When harvesting a collection with references to bitstreams (ORE) from another DSpace instance, all the bitstreams from the source repository are shown instead of only the ones in the 'ORIGINAL' bundle. For example, if a 'document.pdf' is shown in the item of the source repository, in the harvested item 'document.pdf.txt' (THUMBNAIL bundle) and 'license.txt' (LICENSE bundle) are also shown. It should look at the <dcterms:description> value in the RDFs statements of the corresponding bitstream to filter out the other bundles:

      [...]
      <atom:link [...] href="https://buleria.unileon.es/xmlui/bitstream/handle/10612/793/1945333.pdf.txt?sequence=4" title="1945333.pdf.txt" [...]/>
      [...]
      <rdf:Description rdf:about="https://buleria.unileon.es/xmlui/bitstream/handle/10612/793/1945333.pdf.txt?sequence=4">
      <rdf:type rdf:resource="http://www.dspace.org/objectModel/DSpaceBitstream"/>
      <dcterms:description>TEXT</dcterms:description>
      </rdf:Description>
      [...]

      snippet taken from here:

      https://buleria.unileon.es/oai/request?verb=GetRecord&metadataPrefix=ore&identifier=oai:buleria.unileon.es:10612/793

      I think the code to be fixed is in dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/ORE.xsl

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                scottphillips Scott Phillips
                Reporter:
                alexm Àlex Magaz Graça
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: