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

File upload disregards filename #1734

Closed
gianlucagilardi opened this issue May 20, 2024 · 1 comment · Fixed by #1764
Closed

File upload disregards filename #1734

gianlucagilardi opened this issue May 20, 2024 · 1 comment · Fixed by #1764

Comments

@gianlucagilardi
Copy link

gianlucagilardi commented May 20, 2024

Upon uploading a pdf file the system correctly embeds it and adds to the collection but drops the filename (i.e., "whatever.pdf" becomes ".pdf")

Filename can be later edited to restore the original name.

While uploading the file, i see in the console the following error:
Warning: TT: undefined function: 32

Dunno if it is related or not.

Update: if you upload the file from the prompt (+ symbol on the left of the input box) everything is fine (filename is kept)

@housser-apply
Copy link

I'm seeing the same issue. I'm not seeing any client-side errors in the console, but I am seeing that the very first POST request to supabase/rest/v1/files already has the name attribute set to the file extension, so it seems like it's a client-side transformation that's splitting the filename unexpectedly.

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

Successfully merging a pull request may close this issue.

2 participants