Hello,
I tried to add a new entity called "Job" and link it with the existing
entity "Person". While everything is working smoothly, there's a glitch in
the submission form where the chosen "Job" doesn't show up properly.
There's also an error in the log, but without more details, it's hard to
pinpoint the exact problem.
Since the relation "isJobOfPerson" is set up correctly in the relevant
files "relationship-types.xml", "discovery.xml","virtual-metadata.xml",
"submission-forms.xml" what else need to be checked to correct this problem?
Certainly, the initialization of entities has been executed, and
reindexing, as well as server restarts, have been performed as part of
troubleshooting
Thanks,
Aly
==== virtual-metadata.xml ====
<util:map id="isJobOfPersonMap">
<entry key="person.jobTitle" value-ref="personJob_other"/>
</util:map>
<bean class="org.dspace.content.virtual.Collected" id="personJob_other">
<property name="fields">
<util:list>
<value>dc.title</value>
</util:list>
</property>
<property name="useForPlace" value="true"/>
<property name="populateWithNameVariant" value="true"/>
</bean>
==== virtual-metadata.xml ====
ERROR: org.dspace.content.RelationshipMetadataServiceImpl @ A MetadataValue
was attempted to construct with MetadataField for parameters:
metadataschema: relation, metadataelement: isJobOfPerson,
metadataqualifier: null
ERROR: org.dspace.content.RelationshipMetadataServiceImpl @ A
MetadataValue was attempted to construct with MetadataField for parameters:
metadataschema: relation, metadataelement: isJobOfPerson,
metadataqualifier: latestForDiscovery
ERROR: org.dspace.content.RelationshipMetadataServiceImpl @ A MetadataValue
was attempted to construct with MetadataField for parameters:
metadataschema: relation, metadataelement: isPersonOfJob,
metadataqualifier: latestForDiscovery
ERROR: org.dspace.content.RelationshipMetadataServiceImpl @ A MetadataValue
was attempted to construct with MetadataField for parameters:
metadataschema: relation, metadataelement: isJobOfPerson,
metadataqualifier: null
ERROR: org.dspace.content.RelationshipMetadataServiceImpl @ A MetadataValue
was attempted to construct with MetadataField for parameters:
metadataschema: relation, metadataelement: isPersonOfJob,
metadataqualifier: null
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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 view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/6e2c2970-1da0-4152-b07c-5e8203331869n%40googlegroups.com.