"Couldn't find template for digesting" error in the log when sending a thumbnail or an attachment
|Assignee:||Go MAEDA||% Done:|
- Activate thumbnails in the Redmine configuration (Checkbox in the Display tabof Adminstration\Settings)
- Display an issue which has attached images
- Check the log of Redmine
ERROR -- : Couldn't find template for digesting: attachments/thumbnail
ERROR -- : Couldn't find template for digesting: attachments/download
Tested without any plugin, on Redmine 3.0.3 (Rails 4.2), on Linux CentOS.
The messages are triggered in calls to stale?() in app/controllers/attachments_controller.rb in methods download and thumbnail, and consequently do not break anything in the application, it just never uses the cache.
Fix "Couldn't find template for digesting" error in the log when sending an attachment or thumbnail (#20277).
Patch by Olivier Houdas.
#2 Updated by Pavel Potcheptsov about 4 years ago
Same even if checkbox for thumbnails isn't set.
Couldn't find template for digesting: attachments/download Couldn't find template for digesting: attachments/download Environment: Redmine version 3.3.0.stable.15842 Ruby version 1.9.3-p327 (2012-11-10) [i686-linux] Rails version 22.214.171.124 Environment production Database adapter Mysql2
- Subject changed from Errors in Redmine log when displaying an issue with attachments to "Couldn't find template for digesting" error in the log when sending a thumbnail or an attachment
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the patch. Thank you all for your contribution.