When an extended metadata catalog is configured(*) which contains a property of type "date", I am not able to create a new event in the admin UI. After clicking "Create", the UI shows an error message "The event could not be created", probably because the POST request to http://opencast:8080/admin-ng/event/new fails with a 500 Server Error.
Unfortunately, there are no errros in the Opencast log, except
2024-10-07T11:15:02,669 | WARN | (MetadataJson:340) - Value cannot be parsed as String. Expecting type 'String', but received type 'java.lang.Boolean'.
but this is related to PR #812 I guess...
But the upload succeeds when either using the old admin UI or removing the date property from the catalog configuration.
I tested this on Opencast 16.4 as well as on a fresh Opencast 16.5 allinone Docker image.
(*) The metadata catalog configuration:
type=events
organization=mh_default_org
flavor=example/episode
title=Extended Metadata
xml.rootElement.name=example
xml.rootElement.namespace.URI=http://example.com
xml.namespaceBinding.root.URI=http://example.com
xml.namespaceBinding.root.prefix=
xml.namespaceBinding.terms.URI=http://example.com/metadata/catalog
xml.namespaceBinding.terms.prefix=example
property.name.inputID=name
property.name.label=Name
property.name.type=text
property.name.readOnly=false
property.name.required=false
property.name.namespace=http://example.com/metadata/catalog
property.name.order=10
property.date.inputID=date
property.date.label=Date
property.date.type=date
property.date.pattern=yyyy-MM-dd
property.date.readOnly=true
property.date.required=false
property.date.namespace=http://example.com/metadata/catalog
property.date.order=20
When an extended metadata catalog is configured(*) which contains a property of type "date", I am not able to create a new event in the admin UI. After clicking "Create", the UI shows an error message "The event could not be created", probably because the POST request to http://opencast:8080/admin-ng/event/new fails with a 500 Server Error.
Unfortunately, there are no errros in the Opencast log, except
but this is related to PR #812 I guess...
But the upload succeeds when either using the old admin UI or removing the date property from the catalog configuration.
I tested this on Opencast 16.4 as well as on a fresh Opencast 16.5 allinone Docker image.
(*) The metadata catalog configuration: