tnc-br / TimberID-Bugs

0 stars 0 forks source link

[BUG] Error when uploading data to verify #132

Open gabivolpato opened 3 weeks ago

gabivolpato commented 3 weeks ago

Describe the bug Tried two things: 1) Upload the data to a CSV spreadsheet (wood_TID_2024_2.csv) (+ Add sample> Import Samples) 2) The error: error File not uploaded because we noticed errors in the spreadsheet. Please download the sheet to see the errors and reupload.

Apparently the loading was successful. But the first time I didn't locate the samples in the system. Only when I repeated the procedure. But when I click on the samples, they appear as Undetermined (see attached screenshot and the results of one of the samples). I requested to export a spreadsheet with the results as well (attached).

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots / Screencast image (3)

Error states If applicable, add the output of any error codes from browser Developer Tools.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

kazob1998 commented 4 days ago

I took a look into this issue , it does not seem to be reproducible, I tried with wood_TID file couple of times, I always get a successful message . even though the results does not show initially, we need to refresh the page to see them (working as intended). This is the code piece that is responsible for showing the error bar. Entries are validated one by one, if any one of them is not under the expected format it will throw an error My assumptions could be one of these:

kazob1998 commented 4 days ago

We can mark this issue as fixed.