[ 
http://jira.dspace.org/jira/browse/DS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10924#action_10924
 ] 

Kim Shepherd commented on DS-411:
---------------------------------

At the developer meeting on 8th Dec, we decided to leave this "broken" in 1.6, 
until we know how it will affect general dc.contributor usage, sort out 
delimiting between authors spread over multiple metadata, etc. So we're leaving 
this for a later release, and I can put up alternative templates on wiki 
"recipes page"

> 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
>
>
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to