-
Notifications
You must be signed in to change notification settings - Fork 579
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
Bug when source file name is too long #1270
Comments
I've had exactly the same issue in my Django project with django-filer file manager.
This is my solution:
That's it. I've chosen to cut the string to 100 characters, because you have to consider the absolute path in |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This will now be closed due to inactivity, but feel free to reopen it. |
This is still a problem, as it will sometimes cause the filer admin detail page and filer admin list page to become inaccessible. |
I'd like to reopen the ticket as well. It's a recurring issue. |
When the source file name is too long, I get a database error that the thumbnail name is too long:
I tried configuring the THUMBNAIL_NAMER option to shorten the thumbnails name but Django filer overrides the get_thumbnail_name method and breaks this feature (known issue #1093).
I don't really care how my thumbnails are named but we should make sure it does not cause a database error.
I don't know what is the solution for this:
get_thumbnail_name
method but how?The text was updated successfully, but these errors were encountered: