Hi all
Link for reference:
https://wiki.duraspace.org/display/DSPACECRIS/How+to+collect+data+about+CRIS+entities
I'm facing "the third way" described. My goal is to create and populate
CRIS entities as part of the submission process and I must say that
following the reference link is kind of messy.
As far as I understand all modifications must be done in cris-plugin.xml
but I keep getting this WARN:
2017-01-26 11:19:21,519 WARN org.dspace.core.PluginManager @ Cannot find
named plugin for interface=org.dspace.content.authority.ChoiceAuthority,
name="null"
Taking a look at my dspace.cfg Authority Control Settings is all untouched
from fresh install. Attached the file anyway.
Another thing, when testing cris-plugin.xml with this configuration:
<...>
<property name="configurations">
<map>
<entry key="dc.relation">
<ref
local="projectPageCommonFillerMetadata" />
</entry>
</map>
</property>
</bean>
<bean
class="org.dspace.app.cris.integration.authority.ItemMetadataImportFillerConfiguration"
id="projectPageCommonFillerMetadata">
<property name="mapping">
<map>
<entry key="dc.relation">
<bean
class="org.dspace.app.cris.integration.authority.ItemMetadataImportFillerConfiguration.MappingDetails">
<property name="shortName"
value="grant" />
<property name="useAll" value="false" />
<property name="visibility" value="1" />
<.../>
I get another WARN:
2017-01-26 12:38:05,628 WARN org.dspace.app.cris.util.ResearcherPageUtils
@ Property grant not found
Why does it look at ResearcherPageUtils?
Can somebody provide another example on how to do it besides the two
provided in the reference link?
My system: DSpace-CRIS version 5_x_x downloaded and packaged the 10th of
January.
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.
##### Authority Control Settings #####
plugin.named.org.dspace.content.authority.ChoiceAuthority = \
org.dspace.app.cris.integration.ORCIDAuthority = RPAuthority,\
org.dspace.content.authority.ItemAuthority = PublicationAuthority,\
org.dspace.content.authority.ItemAuthority = DataSetAuthority,\
org.dspace.app.cris.integration.ProjectAuthority = ProjectAuthority,\
org.dspace.app.cris.integration.OUAuthority = OUAuthority,\
org.dspace.app.cris.integration.DOAuthority = JOURNALAuthority,\
org.dspace.app.cris.integration.DOAuthority = EVENTAuthority,\
org.dspace.app.cris.integration.RPAuthorityForCRIS = RPAuthorityCRIS,\
org.dspace.app.cris.integration.ProjectAuthorityForCRIS =
ProjectAuthorityCRIS,\
org.dspace.app.cris.integration.OUAuthorityForCRIS = OUAuthorityCRIS,\
org.dspace.app.cris.integration.DOAuthorityForCRIS = JOURNALAuthorityCRIS,\
org.dspace.app.cris.integration.DOAuthorityForCRIS = EVENTAuthorityCRIS,\
org.dspace.app.cris.integration.SOLRSuggestAuthority = SOLRSuggestAuthority
authority.minconfidence = accepted
ItemAuthority.reciprocalMetadata.dc.relation.publication = dc.relation.dataset
choices.plugin.dc.relation.publication = PublicationAuthority
choices.presentation.dc.relation.publication = lookup
authority.controlled.dc.relation.publication = true
cris.ItemAuthority.dc_relation_publication.filter = -dc.type:dataset
choices.plugin.dc.relation.dataset = DataSetAuthority
choices.presentation.dc.relation.dataset = lookup
authority.controlled.dc.relation.dataset = true
cris.ItemAuthority.dc_relation_dataset.filter = dc.type:dataset
choices.plugin.dc.contributor.author = RPAuthority
choices.presentation.dc.contributor.author = lookup
authority.controlled.dc.contributor.author = true
choices.plugin.dc.relation = ProjectAuthority
choices.presentation.dc.relation = suggest
authority.controlled.dc.relation = true
choices.plugin.dc.description.sponsorship = OUAuthority
choices.presentation.dc.description.sponsorship = suggest
authority.controlled.dc.description.sponsorship = true
choices.plugin.dc.relation.ispartof = JOURNALAuthority
choices.presentation.dc.relation.ispartof = suggest
authority.controlled.dc.relation.ispartof = true
cris.DOAuthority.dc_relation_ispartof.filter =
resourcetype_authority:crisjournals
cris.DOAuthority.dc.relation.ispartof.new-instances = journals
ItemCrisRefDisplayStrategy.publicpath.dc.relation.ispartof = journals
choices.plugin.dc.relation.conference = EVENTAuthority
choices.presentation.dc.relation.conference = suggest
authority.controlled.dc.relation.conference = true
cris.DOAuthority.dc_relation_conference.filter =
resourcetype_authority:crisevents
cris.DOAuthority.dc.relation.conference.new-instances = events
ItemCrisRefDisplayStrategy.publicpath.dc.relation.conference = events