diff --git a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/RightsVocabularyField.js b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/RightsVocabularyField.js index b588f0b9a..7200d7e79 100644 --- a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/RightsVocabularyField.js +++ b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/RightsVocabularyField.js @@ -82,7 +82,7 @@ export class RightsVocabularyField extends VocabularyField { let serializedValue = null; const _serialize = (value) => { let clonedValue = _cloneDeep(value); - if ("id" in value) { + if ("id" in value && value.id != null) { return { id: value.id }; } else { this.localeFields.forEach((field) => {