[
https://jira.duraspace.org/browse/DS-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22865#comment-22865
]
Àlex Magaz Graça commented on DS-1055:
--------------------------------------
The attached patch fixes the problem. It looks bigger than it is, but diff
seems to go crazy with indentation changes. Actually, I've only added two name
spaces and a conditional in line 65.
> References to bitstreams not from the 'ORIGINAL' bundle are shown in
> harvested items
> ------------------------------------------------------------------------------------
>
> Key: DS-1055
> URL: https://jira.duraspace.org/browse/DS-1055
> Project: DSpace
> Issue Type: Bug
> Components: XMLUI
> Reporter: Àlex Magaz Graça
> Attachments: only-show-ORIGINAL-bitstreams.patch
>
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel