Hello Team,
I have created the customised metadata field in dc schema, while saving
getting some issue, Can you pls help to resolve this.
I have added the configuration in dspace.cfg also.
webui.browse.index.1 = dateissued:item:dateissued
webui.browse.index.2 = author:metadata:dc.contributor.*\,dc.creator:text
webui.browse.index.3 = title:item:title
webui.browse.index.4 = subject:metadata:dc.subject.*:text
webui.browse.index.5 = level:metadata:dc.feyenoord.level:text
have added the configuration in discovery.xml also.
<bean id="searchFilterlevel"
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
<property name="indexFieldName" value="level"/>
<property name="metadataFields">
<list>
<value>dc.feyenoord.level</value>
</list>
</property>
</bean>
----------
<property name="sidebarFacets">
<list>
<ref bean="searchFilterAuthor" />
<ref bean="searchFilterSubject" />
<ref bean="searchFilterIssued" />
<ref bean="searchFilterContentInOriginalBundle"/>
<ref bean="searchFilterEntityType"/>
<ref bean="searchFilterlevel" />
</list>
</property>
*LOG:*
2024-01-24 17:07:18,203 ERROR ec3fdca0-2a1f-4bda-918c-466707f27df2
21d61290-b031-40a4-ac44-2aeb0ad1380d
org.dspace.app.rest.RestResourceController @ There was no metadataField
found in path of operation
org.dspace.app.rest.exception.DSpaceBadRequestException: *There was no
metadataField found in path of operation*
at
org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataPatchUtils.checkMetadataFieldNotNull(DSpaceObjectMetadataPatchUtils.java:157)
~[classes/:7.6-SNAPSHOT]
at
org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataAddOperation.add(DSpaceObjectMetadataAddOperation.java:63)
~[classes/:7.6-SNAPSHOT]
at
org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataAddOperation.perform(DSpaceObjectMetadataAddOperation.java:47)
~[classes/:7.6-SNAPSHOT]
at
org.dspace.app.rest.repository.patch.operation.DSpaceObjectMetadataAddOperation.perform(DSpaceObjectMetadataAddOperation.java:34)
~[classes/:7.6-SNAPSHOT]
at
org.dspace.app.rest.repository.patch.ResourcePatch.performPatchOperation(ResourcePatch.java:58)
~[classes/:7.6-SNAPSHOT]
at
org.dspace.app.rest.repository.patch.ResourcePatch.patch(ResourcePatch.java:42)
~[classes/:7.6-SNAPSHOT]
at
org.dspace.app.rest.repository.DSpaceObjectRestRepository.patchDSpaceObject(DSpaceObjectRestRepository.java:64)
~[classes/:7.6-SNAPSHOT]
at
org.dspace.app.rest.repository.ItemRestRepository.patch(ItemRestRepository.java:142)
~[classes/:7.6-SNAPSHOT]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[?:?]
at
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[?:?]
at
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
~[spring-aop-5.3.20.jar:5.3.20]
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
~[spring-aop-5.3.20.jar:5.3.20]
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:799)
~[spring-aop-5.3.20.jar:5.3.20]
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
~[spring-aop-5.3.20.jar:5.3.20]
at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
~[spring-aop-5.3.20.jar:5.3.20]
at
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:61)
~[spring-security-core-5.6.5.jar:5.6.5]
--
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 Community" 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-community/8d857bc1-ba33-46be-aecd-168ab6fbd7een%40googlegroups.com.