[ 
http://jira.dspace.org/jira/browse/DS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kim Shepherd updated DS-411:
----------------------------

    Fix Version/s:     (was: 1.6.0)
                   1.6.1

> 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
>    Affects Versions: 1.5.0, 1.5.1, 1.5.2
>            Reporter: Kim Shepherd
>            Assignee: Kim Shepherd
>            Priority: Minor
>             Fix For: 1.6.1
>
>
> 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

        

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to