IQSS / IQSS/dataverse

`dataverse_json` export contains `storageIdentifier`, which exposes internal configuration properties

Open
#11,153 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug
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?

Export a dataset as datavers_json. For example: https://dataverse.harvard.edu/api/datasets/export?exporter=dataverse_json&persistentId=doi%3A10.7910/DVN/EJLMJH

storageIdentifier: "s3://10.7910/DVN/EJLMJH"
datasetVersion : {
storageIdentifier : "s3://10.7910/DVN/EJLMJH"
}
files :[  
{  
dataFile {  
storageIdentifier : "s3://dvn-cloud:193d764e846-2fc4cee84513"
}}]
  • To whom does it occur (all users, curators, superusers)?
    all users

  • What did you expect to happen?
    That the storageIdentifier is not part of the dataverse_json-export

Which version of Dataverse are you using?
6.5

Any related open or closed issues to this bug report?
I found none.

Are you thinking about creating a pull request for this issue?
Yes.

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 by reproducing the export through the datasets/export API with exporter=dataverse_json and the example persistent ID. Trace the dataverse_json exporter and its existing tests to identify where storageIdentifier is included. Done means the export API and dataset-page export omit storageIdentifier while retaining the other expected metadata.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.