openneuro icon indicating copy to clipboard operation
openneuro copied to clipboard

Moved file not downloadable from old version

Open effigies opened this issue 3 years ago • 1 comments

Describe the bug

In https://openneuro.org/datasets/ds004078, the file stimuli/audios/story_1.wav exists in version 1.0.0, but has been renamed to stimuli/audio/story_1.wav in version 1.0.3. The original file (https://openneuro.org/crn/datasets/ds004078/snapshots/1.0.0/files/stimuli:audios:story_1.wav) is not downloadable through the web interface (retrieving {"error": "file not found"}). The new file (https://openneuro.org/crn/datasets/ds004078/snapshots/1.0.3/files/stimuli:audio:story_1.wav) is downloadable.

I am able to retrieve the original file through datalad:

$ datalad install https://github.com/OpenNeuroDatasets/ds004078.git
[INFO   ] scanning for annexed files (this may take some time)                                      
[INFO   ] Remote origin not usable by git-annex; setting annex-ignore                            
[INFO   ] https://github.com/OpenNeuroDatasets/ds004078.git/config download failed: Not Found 
install(ok): /data/bids/ds004078 (dataset)
$ cd ds004078
$ git checkout 1.0.0
$ datalad get stimuli/audios/story_1.wav
get(ok): stimuli/audios/story_1.wav (file) [from s3-PUBLIC...]

To Reproduce Steps to reproduce the behavior:

  1. Go to https://doi.org/10.18112/openneuro.ds004078.v1.0.0
  2. Expand stimuli/audios
  3. Click on the download button for story_1.wav
  4. Inspect contents of downloaded file

Expected behavior Old versions of files should be accessible through web interface.

Notes

Moved from Freshdesk 1174.

effigies avatar Sep 19 '22 14:09 effigies

Also seeing this in ds000228, which renamed derivatives/fmriprep to derivatives/preprocessed_data in v1.1.0.

effigies avatar Nov 25 '22 15:11 effigies