[
http://jira.dspace.org/jira/browse/DS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kim Shepherd updated DS-411:
----------------------------
Attachment: DS-411_XMLUI_itemSummaryList-DIM_author_matching.patch
Note: not very extensively tested! Quickly whipped this patch up after a
discussion in #dspace
> XMLUI itemSummaryList-DIM only matches first possible author metadata field
> ---------------------------------------------------------------------------
>
> Key: DS-411
> URL: http://jira.dspace.org/jira/browse/DS-411
> Project: DSpace 1.x
> Issue Type: Bug
> Components: XMLUI
> Reporter: Kim Shepherd
> Assignee: Kim Shepherd
> Priority: Minor
> Fix For: 1.6.0
>
> Attachments: DS-411_XMLUI_itemSummaryList-DIM_author_matching.patch
>
>
> itemSimmaryList-DIM template uses choose/when/otherwise logic to test for
> valid author metadata fields, eg. dc.contributor.author, dc.creator,
> dc.contributor.* -- because of the logic used, any match on a test will cause
> subsequent tests to skip.
> The attached patch replaces this logic with a series of <xsl:if> tests nested
> in a <xsl:choose> which tests for the existence of *any* of the possible
> fields (dc.contributor.author, dc.creator, dc.contributor.*)
> Please give feedback as to whether this is useful.. it fixes some annoying
> bugs experienced when a combination of dc.contributor.author and dc.creator
> is used (or if one has an empty string for a value), but I am concerned my
> fix could affect repositories using dc.contributor.supervisor or
> dc.contributor.advisor, if they don't wish that field to be displayed with
> authors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel