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:

When I choose another template or "None" from the Dataset Template dropdown menu, the new metadata block appears.
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:
When I choose another template or "None" from the Dataset Template dropdown menu, the new metadata block appears.