IQSS / IQSS/dataverse

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
#8,711 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: File Upload & Handling Type: Suggestion User Role: Guest
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the tabular data file webpage and the Access File dropdown described in the reproduction steps, then trace how the installation's RData configuration controls the RData option. Done means the option is absent when RData is not configured and does not produce the reported 404; verify the behavior on a configured installation as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.