Hej,

as far as I can oversee it, the problem is, that there is no metadatafield "relation.isPersonOfJob". You have to add the metadata fields "relation.isPersonOfJob.latestForDiscovery", "relation.isPersonOfJob", "relation.isJobOfPerson.latestForDiscovery" and "relation.isJobOfPerson" into your metadata registry [dspace-instance]/config/registries/relationship-formats.xml. Then you can load the updated registry via command line ("dspace registry-loader -metadata <file-path>") and it hopefully works...

Kind regards,
Eike.

Am 13.02.24 um 13:39 schrieb Aly Badr:

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 dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/6e2c2970-1da0-4152-b07c-5e8203331869n%40googlegroups.com <https://groups.google.com/d/msgid/dspace-tech/6e2c2970-1da0-4152-b07c-5e8203331869n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Eike Martin Löhden
Projektmitarbeiter, DFG-Projekt mediarep, Infrastruktur Digitale Sammlungen
Philipps-Universität Marburg
Deutschhausstraße 9
35032 Marburg

+49 6421 28-25238
eike.loeh...@staff.uni-marburg.de

--
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/38c7b7eb-e796-4a31-b6c8-ba8a4b2566e1%40staff.uni-marburg.de.

Attachment: smime.p7s
Description: Kryptografische S/MIME-Signatur

Reply via email to