Stream: dev

Topic: Bug when I edit a field in the General Information, when the


view this post on Zulip Gabriel Suarez Baron (Apr 16 2024 at 15:52):

Hello, I am having a problem when I want to edit the required fields to create a dataset, when I try to add an optional field it does not appear when creating the dataset, an example of this is in the subtitle field, when I mark the field as required it appears as an option to add in the dataset information, but when I mark it as optional this field disappears from the information that must be added to the dataset.

I am using dataverse 5.3

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 16 2024 at 15:58):

Huh. Strange. @Gabriel Suarez Baron can you please create a new collection (dataverse) at https://demo.dataverse.org and try it there?

view this post on Zulip Gabriel Suarez Baron (Apr 16 2024 at 16:12):

@Philip Durbin
In this dataverse demo I tested the problem that is happening to me and indeed this same problem is still occurring, I attach the screenshots where this bug is evident

WhatsApp-Image-2024-04-16-at-11.09.05-AM.jpeg
WhatsApp-Image-2024-04-16-at-11.08.18-AM.jpeg

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 16 2024 at 16:14):

What if you flip the radio button for Subtitle from "Optional" to "Required"? Does that help?

view this post on Zulip Gabriel Suarez Baron (Apr 16 2024 at 16:17):

Yes, if I change the button from optional to required the field appears, however, there are some fields where I need the information to enter is optional and if I leave it on required I will have to fill in that information.

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 16 2024 at 16:19):

I see. There's a similar conversation going on at #10476.

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 16 2024 at 16:21):

@Gabriel Suarez Baron please feel free to create a new issue

view this post on Zulip Oliver Bertuch (Apr 16 2024 at 16:35):

This is probably due to displayOnCreate not being set in the TSV.

view this post on Zulip Sherry Lake (Apr 16 2024 at 16:36):

@Philip Durbin @Gabriel Suarez Baron The "Subtitle" field does not appear on the Create Dataset page. It only shows up on the metadata page AFTER a dataset is created.

This is set in the citation.tsv file. "displayoncreate" is set to FALSE for subtitle.

To make subtitle show up on create dataset page, would require editing the citation.TSV.

view this post on Zulip Oliver Bertuch (Apr 16 2024 at 16:36):

Hasn't this changed to allow a third option to enable showing it when configured, added in some 5.x release?

view this post on Zulip Gabriel Suarez Baron (Apr 16 2024 at 17:13):

@Sherry Lake Yes, I already checked the citation.tsv file and I could see the subtitle field, thank you very much, I will change this file and see what happens.

view this post on Zulip Sherry Lake (Apr 16 2024 at 17:28):

@Gabriel Suarez Baron be very careful editing the citation.TSV file, it is not recommended. Also note some new releases have an update to the citation.TSV file, which means you will need to edit it again.

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 16 2024 at 17:39):

Right, if you create a new issue it could be titled something like "allow collections to override 'display on create' from the tsv

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 16 2024 at 19:59):

Actually, we tried to capture the idea here just now in tech hours: https://github.com/IQSS/dataverse/issues/10476#issuecomment-2059783231

view this post on Zulip Philip Durbin ๐Ÿš€ (Apr 16 2024 at 19:59):

"override the datsetfieldtype displayoncreate values at a dv collection level"


Last updated: Nov 01 2025 at 14:11 UTC