Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 #8711

Open
BPeuch opened this issue May 18, 2022 · 2 comments
Labels
Feature: File Upload & Handling Type: Suggestion an idea User Role: Guest Anyone using the system, even without an account

Comments

@BPeuch
Copy link
Contributor

BPeuch commented May 18, 2022

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 BPeuch added this to Pretty please in Dataverse SODHA (Belgium) May 19, 2022
@pdurbin
Copy link
Member

pdurbin commented Oct 1, 2022

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
Copy link
Member

pdurbin commented Dec 12, 2023

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

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


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: File Upload & Handling Type: Suggestion an idea User Role: Guest Anyone using the system, even without an account
Projects
Development

No branches or pull requests

2 participants