Skip to content

Metadata blocks available to only one collection (and possibly all metadata blocks) are not available when editing dataset templates created before the metadata blocks were added #8704

@jggautier

Description

@jggautier

What steps does it take to reproduce the issue?

  • When does this issue occur?
    When editing a dataset metadata template that was created before the metadata block was made available to the collection.

  • Which page(s) does it occurs on?
    On the page where you can edit the metadata of a template that was created before the metadata block was added to the collection (From the Dataverse collection page, click Edit > Dataset Templates > Metadata)

  • What happens?
    Metadata blocks that were added after the dataset metadata template was created are not there when editing the dataset metadata template.

    And if the template is the collection's default template, when depositors create a dataset, the accordion for the metadata block appears empty when the accordion is open (see screenshot below).

  • To whom does it occur (all users, curators, superusers)?
    Superusers, anyone editing the Dataverse collection

  • What did you expect to happen?
    The new metadata block appears in the metadata template

Which version of Dataverse are you using?
v5.10.1

Any related open or closed issues to this bug report?
None that I could find

Screenshots:
Because the template that was created before the metadata block was added is the default template for the collection, when depositors create a dataset, the accordion for the metadata block is empty when its open:

Screen Shot 2022-05-16 at 8 07 07 PM

When I choose another template or "None" from the Dataset Template dropdown menu, the new metadata block appears.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions