Hi Alexander,

This is something I have never understand in the newer version 4.1 of
dspace-cris.
As you may know, when a dc.contributor.author value matches the name of a RP
they link that dc.contributor.author metadata with the RP id using the
authority key system.
So, when your are in the simple item view, the java class that builds this
jsp looks this authority key, if it is an accepted confidence key it would
print the name of the author and the icon that links you with his RP
profile.
If the author doesn't have an accepted key, it only prints the name.
This is logical, and this is how version 3.2 worked out of the box.

In version 4.1 I have discovered that out of the box, non accepted keys
makes the name of that author not printed.
I have tried putting non RP authors 'uncertain' confidence value (it's the
higher value under accepted) and doesn't work.

So, what I have do to fix this is to modify the java class
https://github.com/Cineca/DSpace/blob/dspace-cris-master/dspace-cris/jspui-api/src/main/java/org/dspace/app/webui/cris/util/CrisDisplayStrategy.java#L73

the if section from line 73 should look like this:

if (metadataArray[j].confidence != Choices.CF_ACCEPTED) {
    sb.append(metadataArray[j].value+"<br />");
    continue;
}

So this way, would print all authors, RP and non RP.
Remember you have to recompile the code.

I don't know if this can be done modifying dspace.cfg, would be nice.



 

In 3.2 version 



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/DSpace-CRIS-4-1-2-Merging-Authors-with-RP-with-Authors-without-RP-in-Item-Display-tp4676217p4676219.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to