NASA-PDS / doi-ui

The web interface for the PDS DOI Service providing the ability management PDS archive DOIs. See the DOI Service for more details on the available capabilities. https://nasa-pds.github.io/doi-service/
Apache License 2.0
0 stars 4 forks source link

Issue with displaying the content of an uploaded file after multiple selections #67

Closed tloubrieu-jpl closed 2 years ago

tloubrieu-jpl commented 3 years ago

🐛 Describe the bug

When the user reserve a DOI and chose a file to upload, and then update the file and re-upload it by reclicking on choose file, the display of the content of the file is not updated.

📜 To Reproduce

Steps to reproduce the behavior:

  1. Go to http://localhost:3000/create
  2. Click on Has the data been registered and made publicly available? NO
  3. choose a file and load it in the form (see compressed test dataset)
  4. update locally the chosen file
  5. choose a file again The displayed content of the file is not updated.

🕵️ Expected behavior

The content displayed in the form should be updated as well as the content sent to the API back-end.

📚 Version of Software Used

origin/route-fixes, commit 4c59199

🩺 Test Data / Additional context

DOI_Reserved_DEMO.csv.zip

🏞Screenshots

🖥 System Info


:unicorn: Applicable requirements

jordanpadams commented 2 years ago

@tloubrieu-jpl is this still an issue?

eddiesarevalo commented 2 years ago

This is a duplicate of #87