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

3.0.0-beta.2: Unable to download some attachments #1582

Open
adigitalife opened this issue Sep 19, 2019 · 2 comments

Comments

@adigitalife
Copy link

commented Sep 19, 2019

So far, there are only 4 attachments on my site. The 1st and 4th one are fine. The 2nd and 3rd ones get file not found when trying to download them. At least one user has reported that the files were downloadable yesterday.

From Attachment administration, all 4 files are visible and are in the correct order with the correct #.

How can I resolve this? Is there some other way to retrieve those files so I can edit the post and re-attach them? Any idea what might have caused this?

@adigitalife

This comment has been minimized.

Copy link
Author

commented Sep 19, 2019

After further testing, I found out what the exact problem is: attachments can't be smaller than 4096 bytes. If the attachment is 4095 bytes or less then it will say file not found when you try to download it.

Is this a bug or is it a mistake on my server's configuration?

@thorsten

This comment has been minimized.

Copy link
Owner

commented Sep 19, 2019

Interesting fact, I'll check the code.

@thorsten thorsten self-assigned this Sep 22, 2019
@thorsten thorsten added the Bug label Sep 22, 2019
@thorsten thorsten added this to To Do in 3.0.0-beta.3 via automation Sep 22, 2019
@thorsten thorsten added this to the 3.0 milestone Sep 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
3.0.0-beta.3
  
To Do
2 participants
You can’t perform that action at this time.