Hello everyone,
I'm using DSpace 7.4
My goal is to add a language tag to a metadata field.
According to the DSpace 7.4 manual (pdf version):
Therefore I have written the following code.
<row>
<field>
<dc-schema>dc</dc-schema>
<dc-element>description</dc-element>
<dc-qualifier></dc-qualifier>
<language value-pairsname="common_iso_languages2">true</language>
<repeatable>false</repeatable>
<label>Description</label>
<input-type>textarea</input-type>
<hint>Enter any other description or comments in this box.</hint>
<required></required>
</field>
</row>
However, I got the following error: (...field description.null has no language attribute)
2022-12-27 10:10:22,450 ERROR unknown unknown org.springframework.boot.SpringApplication @ Application run failed
java.lang.RuntimeException: Failure during ServletContext initialisation: Error creating bean with name 'patchConfigurationService' defined in URL [jar:file:/var/lib/tomcat9/webapps/server/WEB-INF/lib/dspace-server-webapp-7.4-classes.jar!/spring/spring-dspace-core-services.xml]: Cannot create inner bean 'org.dspace.app.rest.submit.factory.impl.BitstreamMetadataValueMovePatchOperation#1dff5a71' of type [org.dspace.app.rest.submit.factory.impl.BitstreamMetadataValueMovePatchOperation] while setting bean property 'map' with key [TypedStringValue: value [move], target type [null]] with key [TypedStringValue: value [bitstreammetadata], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.app.rest.submit.factory.impl.BitstreamMetadataValueMovePatchOperation#1dff5a71' defined in URL [jar:file:/var/lib/tomcat9/webapps/server/WEB-INF/lib/dspace-server-webapp-7.4-classes.jar!/spring/spring-dspace-core-services.xml]: Cannot resolve reference to bean 'org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils' while setting bean property 'bitstreamMetadataValuePathUtils'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils' defined in URL [jar:file:/var/lib/tomcat9/webapps/server/WEB-INF/lib/dspace-server-webapp-7.4-classes.jar!/spring/spring-dspace-core-services.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.dspace.app.rest.utils.BitstreamMetadataValuePathUtils]: Constructor threw exception; nested exception is org.dspace.app.util.DCInputsReaderException: Error creating submission forms: org.xml.sax.SAXException: Form traditionalpagetwo, field description.null has no language attribute
Why am I getting this error?
Thanks.