[
https://jira.duraspace.org/browse/DS-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22892#comment-22892
]
Scott Phillips commented on DS-1055:
------------------------------------
Although on more reflection on the issue, I suggest changing the logic in the
patch slightly. The current patch only displays an ORE aggregation if there is
also an RDF statement describing the aggregation as in the ORIGINAL bundle.
I propose changing that to display the ORE aggregation in two cases 1) if the
RDF statement describes it in the original bundle OR 2) there are no
RDF:description statements about the aggregation. This change will allow the
display code to theoretically work if the ORE document was generated by a
source other than DSpace.
> 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
> Assignee: Scott Phillips
> Fix For: post-1.8.0
>
> 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
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel