Skip to content

several problems in conjunction with nested metadata fields #512

@saschaszott

Description

@saschaszott

Bug Description

We have added a new inline-group for nested metadata fields in the submission forms configuration file submission-forms.xml (similar to the default inline-group oairecerif.person.affiliation). The inline-group consists of two fields. Both fields are marked as required, and one of them also uses a regular expression (regex) as a validator.

Unfortunately, we have found that form validation for nested metadata fields does not work when the form is submitted. Neither the required attribute is enforced (the form can be submitted successfully), nor is the input value validated against the defined regex.

We were able to reproduce this issue with DSC version 2024.02.00.

Furthermore, we discovered that bulk import via Excel does not work if the file contains fields that are part of an inline-group. We tried importing the two fields of the newly added inline-group using the bulk import, but the system rejected the import with an error message stating that the fields are unknown. The bulk import works correctly for other fields that are not part of an inline-group. The problem can be reproduced with DSC 2024.02.00.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions