Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!
Parse Server 2.2.9
Dashboard 1.0.11
S3 bucket as files store
Upload file using dashboard
After the upload done see file name with missing first 4 characters
The issue is because the substring of 37 characters, but in case the S3 (at least, i don't know about other file store services) the uuid of the file generated is missing the dashes, so the length of the uuid is 33 instead 37.
Possible solution is to avoid the length based calculation, and use indexOf("_"), and this will be a good solution for it, but needs to check first if tfss is found, since there, theres no "_" separating the name from the uuid.
Note: If you get a browser JS error please run npm run dev. This will provide source maps and a much more useful stack trace.
Sounds like you've got a potential solution, think you could submit a PR?
@drew-gross I'll be very happy to do it.
@aryelevin can you share your code fixes in the comments here?
@aryelevin any update on this?
@drew-gross any update on this issue?
Has this bug been already fixed?
I am with Parse-server 2.2.12 and deployed to Heroku + mlab. I am still having the same issue... ...
I'm experiencing the same issue, too.
I am experiencing the same issue.
Most helpful comment
@drew-gross I'll be very happy to do it.