roda
roda copied to clipboard
Logic for loading Descriptive Metadata I18N labels is not perfect
It fails when one has defined a descriptive metadata type with version but there is no key for descriptive metadata type with no version.
Configs that fail:
ui.browse.metadata.descriptive.type.metadataType_metadataVersion = Blabla
Configs that work:
ui.browse.metadata.descriptive.type.metadataType_metadataVersion = Blabla
ui.browse.metadata.descriptive.type.metadataType = Blabla
Related code/method: https://github.com/keeps/roda/blob/805797a63fc4c974299a8db444d8a1cfe7bf35eb/roda-ui/roda-wui/src/main/java/org/roda/wui/api/controllers/BrowserHelper.java#L481