dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

After Clicking "Custom Dataset Terms" cannot view Files Tab

Open shlake opened this issue 3 years ago • 3 comments

What steps does it take to reproduce the issue? Datasets with "Custom Dataset Terms" show a link for the custom terms (above the tabs). If you click on that link - the "terms" tab becomes active and I see the custom terms, BUT now if I click the "Files" tab, the files briefly "show" and then the page goes back to the custom terms display.

See this dataset on demo.dataverse: https://demo.dataverse.org/dataset.xhtml?persistentId=doi:10.70122/FK2/EEX7VM

  • When does this issue occur? After clicking the "Custom Dataset Terms" link

  • What happens? After clicking the "Custom Dataset Terms" link, Clicking the "Files" tab, shows the custom dataset terms again. Clicking "Versions" tab and "Metadata" tab work, just not the "Files" tab.

  • To whom does it occur (all users, curators, superusers)? ALL users

  • What did you expect to happen? Expected to see the list of files.

Which version of Dataverse are you using? V5.11 on demo dataverse

shlake avatar Jul 21 '22 19:07 shlake

FWIW: This is related to the new mechanism to go directly to the terms tab (for custom terms) - if you look at the URL I think the terms tab stays in the URL. This was modeled on the My Data page where things work, e.g. https://demo.dataverse.org/dataverseuser.xhtml?selectTab=apiTokenTab gets you to the api token tab but doesn't stop you from seeing the other tabs, so to fix, not only can we compare the file tab with the metadata/versions tab which work OK, but we might compare with myData as well.

qqmyers avatar Jul 21 '22 20:07 qqmyers

Worth mentioning perhaps...

When I click "Custom Dataset Terms", a new browser tab opens. This is pretty weird to me. I'd expect to stay in the same browser tab.

And yes, I can also reproduce the original bug.

pdurbin avatar Jul 21 '22 20:07 pdurbin