Actions
Defect #31428
closedGravatar can't be displayed when copy configration.yml.example to configration.yml
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Gravatar can't be displayed when copy config/configration.yml.example to config/configration.yml.
Steps to reproduce:- Copy configration.yml.example to make configration.yml
- Start redmine
- Enable "Use Gravatar user icons" setting
- Display issues/show
- Gravatar is not displayed and ActionController::RoutingError occurs
ActionController::RoutingError (No route matches [GET] "/avatar/982b6086063a22d85509455d8e31cca2"):
Cause:
The default for avatar_server_url is 'https://www.gravatar.com' by configuration.rb#L25.
However, the value of avatar_server_url is overwritten with nil because configuration.yml.example#L225 is not commented out.
#9112 is related.
Affected version: trunk.
Related issues
Updated by Mizuki ISHIKAWA over 5 years ago
I think the problem will not occur if you change it as below.
diff --git a/config/configuration.yml.example b/config/configuration.yml.example
index d11bc61469..d04a239aa4 100644
--- a/config/configuration.yml.example
+++ b/config/configuration.yml.example
@@ -222,7 +222,7 @@ default:
# avatar_server_url: https://www.gravatar.com # default
# avatar_server_url: https://seccdn.libravatar.org
#
- avatar_server_url:
+ # avatar_server_url:
# specific configuration options for production environment
# that overrides the default ones
Updated by Go MAEDA over 5 years ago
- Blocks Feature #9112: Libravatar and Gravatar-compatible servers support added
Updated by Go MAEDA over 5 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Committed the fix. Thank you for detecting and reporting this issue.
Actions