Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to upload a source data #2593

Open
spalp opened this issue Nov 14, 2024 · 12 comments
Open

Not able to upload a source data #2593

spalp opened this issue Nov 14, 2024 · 12 comments
Assignees
Labels
Milestone

Comments

@spalp
Copy link
Contributor

spalp commented Nov 14, 2024

A strange new behaviour of the IPT: https://cloud.gbif.org/eca
Browsers: Mozilla Firefox 132.0.2, Google Chrome 130.0.6723.117 (Official Build) (64-bit)

If within a single session, I delete a resource data and then try to upload a new dataset, the new dataset is not uploaded. I have to log in and log (and sometimes many times) before I get the file successfuly uploaded and visible.
The resouce is the following: https://cloud.gbif.org/eca/manage/resource.do?r=podujeva_wwtp

Update: And after a second deletion of the resource data, now I cannot upload anything anymore.

@mike-podolskiy90
Copy link
Contributor

Thanks Salza for reporting the issue.

Could you clarify "upload a new dataset" does it mean a new file?

@spalp
Copy link
Contributor Author

spalp commented Nov 14, 2024

Image
Yes, clicking on the Add button, selecting the file, and then clicking on Upload does not upload a new file.

@mike-podolskiy90
Copy link
Contributor

Thanks, I see. I don't have any issues in those browsers with uploading or deleting any types of the sources. So I am not sure what's wrong for you. Are there errors in the browser console please? (In Chrome F12 -> console)

@mike-podolskiy90
Copy link
Contributor

Please try to restart your computer this often solves issues

@spalp
Copy link
Contributor Author

spalp commented Nov 15, 2024

In the end I found that it was the very single file I was trying to upload that 'did not want' to upload: gbifdatasheet_Rexport_1-10,18-21,23.txt.
I have no problems other .txt files, it is only this one.

@mike-podolskiy90
Copy link
Contributor

I see. I'm wondering what could be wrong with it

@spalp
Copy link
Contributor Author

spalp commented Nov 15, 2024

I found the problem - when I replaced the commas (,) in the file name with _, I was able to upload the file.

@mike-podolskiy90
Copy link
Contributor

Add an error message or warning

@spalp
Copy link
Contributor Author

spalp commented Nov 18, 2024 via email

@mike-podolskiy90 mike-podolskiy90 added this to the 3.2 milestone Nov 27, 2024
@mike-podolskiy90
Copy link
Contributor

We should limit the characters allowed in file names to prevent strange characters and add a banner to explain it to users.

@spalp
Copy link
Contributor Author

spalp commented Nov 28, 2024 via email

@mike-podolskiy90
Copy link
Contributor

I believe the allowed characters should be alphanumerics, dashes and underscores.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants