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
Image files on set pages with dashes in filename don't work #583
Comments
@wickr Is this still a bug? Do we have an example? |
@terrellt Yeah. No active example since workarounds were done. If you take any set page with an image, view just that image in the browser, add a dash into the filename, you'll get the routing error before file not found error. |
use _ instead of - for now. but why is it broken? |
Rails bug: rails/rails#9788 - We're just lucky enough to have this precise kind of issue. Two workarounds: don't use hyphen or shorten the filename. |
Er, sprockets bug - Rails just happens to rely on sprockets |
(Note that this could bite us on any asset file, not just images - css, fonts, JS, etc) |
might need to update rails....depending on how much longer we're working with OD |
When images on a set page have a dash in the filename, they don't load due to a routing error.
No route matches [GET] "/assets/sets/oimb/010-6872-11212011181502.jpg"
Workaround is to switch dashes to an underscore.
The text was updated successfully, but these errors were encountered: