Stream: troubleshooting

Topic: Terms of Use popup on file previewer


view this post on Zulip Bethany Seeger (Jan 07 2026 at 22:09):

Hello,

(dataverse 6.6)

We just uploaded/ingested some material into a new collection. When we published it, we are seeing a License/Data Use Agreement (DUA) popup in the previewer section of a files page - even when it's a CC0 file. We did put some material in the "Restricted Files + Terms of Access" section - putting the word "Public" in "Terms of Access for Restricted File".

Does putting anything in this field made the "Request Access" active?

I'm sure we've made some metadata error along the way -- just not sure what it was and how to fix it.

Here's a record: https://dataverse.yale.edu/dataset.xhtml?persistentId=doi:10.60600/YU/TY05NA&version=1.0

Here's the terms of use config page:

image.png

Ideally we would not get a pop up for a DUA at all for anything in this collection (even the non CC0 records).

Thoughts?
Thanks in advance!

view this post on Zulip Bethany Seeger (Jan 07 2026 at 22:16):

noting I saw this email thread: https://groups.google.com/g/dataverse-community/c/vXxyexUASoI/m/oqIHv1xpBAAJ

Not sure if it is still applicable or not.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jan 08 2026 at 14:49):

Yes, the popup is normal in this case. There are terms that must be agreed to before the file can be previewed.

"If a preview tool for a specific file type is available, the preview will be created and will display automatically, after terms have been agreed to or a guestbook entry has been made, if necessary." -- https://guides.dataverse.org/en/6.9/user/dataset-management.html#file-previews

view this post on Zulip Bethany Seeger (Jan 08 2026 at 14:56):

Thanks, Phil. So technically speaking, anytime you put anything in the "Terms of Access for Restricted Files", you'll get the popup? (regardless of actual license type)

The UI won't let me take out the popup via the edit terms page (it's grayed out). How can I clear that "Terms of Access for Restricted Files" field?

view this post on Zulip Philip Durbin ๐Ÿš€ (Jan 08 2026 at 14:58):

Right, same for downloads, not just previews. The popup will be shown.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jan 08 2026 at 14:59):

Hmm, I see what you mean, how it's grayed out:

image.png

view this post on Zulip Philip Durbin ๐Ÿš€ (Jan 08 2026 at 15:05):

Seems like a bug. Can you reproduce it on https://demo.dataverse.org ?

view this post on Zulip Bethany Seeger (Jan 08 2026 at 15:21):

I just tried this out there and not sure if it worked or not. I did this manually -- created the dataset and choose CC0, then added a few files. The txt file preview is failing, so I can't tell if it would have shown a popup:

https://demo.dataverse.org/dataset.xhtml?persistentId=doi:10.70122/FK2/0BEISU

When I look at the terms of the dataset, I do see the same boxes grayed out -- and I didn't change anything there. Maybe this is normal? Maybe I'm just missing something...

view this post on Zulip Philip Durbin ๐Ÿš€ (Jan 08 2026 at 15:23):

Not sure. I asked in Slack and Jim had this suggestion:

"One possibility: Those a greyed when there are no restricted files. Perhaps a bug to not let you clear it, but the work-around would be to mark a file restricted, make the change, and then unrestrict it."

view this post on Zulip Bethany Seeger (Jan 08 2026 at 15:30):

Ok - that makes sense -- just tried it out on our staging server and it worked.

So the system thinks the files are unrestricted, but because we put a string in that terms field, the system also thinks we need the popup.

Because they are not restricted, those fields are grayed out and we can't edit them.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jan 08 2026 at 15:30):

Sounds like a bug, right? Do you mind opening an issue?

view this post on Zulip Bethany Seeger (Jan 08 2026 at 15:31):

Was just typing about that -- yeah it does sound like a bug - a minor one. I'll open an issue. Thanks so much for your help.

view this post on Zulip Philip Durbin ๐Ÿš€ (Jan 08 2026 at 15:32):

No problem! Thanks to Jim for the workaround!


Last updated: Jan 09 2026 at 14:18 UTC