dataverse icon indicating copy to clipboard operation
dataverse copied to clipboard

The option to download tabular data in RData format should not appear in the dropdown menu if a Dataverse installation has not been configured to handle RData

Open BPeuch opened this issue 3 years ago • 1 comments

What steps does it take to reproduce the issue? On a Dataverse installation which has not been configured to enable RData, view a webpage for a tabular data file, click on "Access File" and select the "RData" option, for example here on the Harvard Dataverse (currently version 5.10.1) or here on the SODHA test Dataverse installation.

  • When does this issue occur? When using a Dataverse installation which has not been configured to enable RData.

  • Which page(s) does it occurs on? Webpages dedicated to tabular data files.

  • What happens? After clicking on the "RData" option, users are faced with a 404 error webpage, as shown below in Firefox.

  • To whom does it occur (all users, curators, superusers)? Everybody, I believe (I was running tests while logged in as admin on the SODHA test Dataverse installation).

  • What did you expect to happen? Either to get a download prompt, or not to see the option if the program has not been configured to this end.

Which version of Dataverse are you using? 5.10.1

Any related open or closed issues to this bug report?

Screenshots:

rdata

404

BPeuch avatar May 18 '22 11:05 BPeuch

I suppose this also means format=RData should fail with a reasonable message ("RData not available") from the API:

https://guides.dataverse.org/en/5.11.1/api/dataaccess.html#basic-file-access

pdurbin avatar Oct 01 '22 17:10 pdurbin

We're seeing the same issue with the new React frontend:

  • https://github.com/IQSS/dataverse-frontend/pull/240

By the way, the following issue is so similar we probably don't need both 8711 and 9490:

  • #9490

Update. Here's a new issue for equivalent work to be done on the new frontend:

  • https://github.com/IQSS/dataverse-frontend/issues/257

pdurbin avatar Dec 12 '23 14:12 pdurbin