{"action":"created","issue":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/515","labels_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/515/comments","events_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/515/events","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/515","id":108163834,"number":515,"title":"ActionView::Template::Error on Users panel with Redmine 3.1.1","user":{"login":"r0perice","id":7713432,"avatar_url":"https://avatars.githubusercontent.com/u/7713432?v=3","gravatar_id":"","url":"https://api.github.com/users/r0perice","html_url":"https://github.com/r0perice","followers_url":"https://api.github.com/users/r0perice/followers","following_url":"https://api.github.com/users/r0perice/following{/other_user}","gists_url":"https://api.github.com/users/r0perice/gists{/gist_id}","starred_url":"https://api.github.com/users/r0perice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0perice/subscriptions","organizations_url":"https://api.github.com/users/r0perice/orgs","repos_url":"https://api.github.com/users/r0perice/repos","events_url":"https://api.github.com/users/r0perice/events{/privacy}","received_events_url":"https://api.github.com/users/r0perice/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars.githubusercontent.com/u/3433835?v=3","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-09-24T16:16:39Z","updated_at":"2015-10-03T18:58:43Z","closed_at":null,"body":"Hi,\r\n\r\nI'm on a fresh installation of Redmine 3.1.1 with the following configuration :\r\n\r\nInformation\r\n```\r\nRedmine 3.1.1.stable\r\nDefault administrator account changed \tTrue\r\nAttachments directory writable \tTrue\r\nPlugin assets directory writable (./public/plugin_assets) \tTrue\r\nRMagick available (optional) \tTrue\r\nImageMagick convert available (optional) \tTrue\r\n\r\nEnvironment:\r\n  Redmine version                3.1.1.stable\r\n  Ruby version                   2.0.0-p647 (2015-08-18) [x86_64-linux]\r\n  Rails version                  4.2.4\r\n  Environment                    production\r\n  Database adapter               Mysql2\r\nSCM:\r\n  Subversion                     1.8.13\r\n  Git                            1.9.5\r\n  Filesystem                     \r\n  Xitolite                       1.7.1\r\nRedmine plugins:\r\n  event_notifications            3.0.0\r\n  pdf_export                     0.0.1\r\n  redmine_agile                  1.3.11\r\n  redmine_auto_changes_issue_status 0.1\r\n  redmine_bbb                    0.2.0\r\n  redmine_bootstrap_kit          0.2.3\r\n  redmine_checklists             3.1.1\r\n  redmine_ckeditor               1.1.2\r\n  redmine_create_wiki_page       0.1\r\n  redmine_dashboard              2.7.0\r\n  redmine_dmsf                   1.5.3\r\n  redmine_git_hosting            1.1.3\r\n  redmine_issue_templates        0.1.0\r\n  redmine_ldap_sync              2.0.6.g0aec5b8345\r\n  redmine_monitoring_controlling 0.1.1\r\n  redmine_my_page                0.1.6\r\n  redmine_query_share            1.0.0\r\n  redmine_timelog_timer          2.0.1\r\n  redmine_workflow_enhancements  0.4.0\r\n  redmine_xapian                 1.6.2\r\n```\r\n\r\nI have installed redmine_git_hosting who seems to works fine. But now when I try to access to 'Users' from administration panel or if I click on an user name I'm having the following problem.\r\n\r\nMy **production.log**\r\n\r\n```\r\nStarted GET \"/redmine/users\" for 80.14.188.84 at 2015-09-24 16:04:18 +0000\r\nProcessing by UsersController#index as HTML\r\n  Current user: admin (id=1)\r\n  Rendered plugins/redmine_git_hosting/app/views/users/index.html.erb within layouts/admin (30.1ms)\r\nCompleted 500 Internal Server Error in 85ms (ActiveRecord: 7.9ms)\r\n\r\nActionView::Template::Error (undefined method `unpack' for nil:NilClass):\r\n    40:   <td class=\"username\"><%= avatar(user, :size => \"14\") %><%= link_to h(user.login), edit_user_path(user) %></td>\r\n    41:   <td class=\"firstname\"><%= h(user.firstname) %></td>\r\n    42:   <td class=\"lastname\"><%= h(user.lastname) %></td>\r\n    43:   <td class=\"email\"><%= mail_to(h(user.mail)) %></td>\r\n    44:   <td class=\"tick\"><%= checked_image user.admin? %></td>\r\n    45:   <td class=\"created_on\"><%= format_time(user.created_on) %></td>\r\n    46:   <td class=\"last_login_on\"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>\r\n  app/controllers/users_controller.rb:58:in `block (2 levels) in index'\r\n  app/controllers/users_controller.rb:55:in `index'\r\n  lib/redmine/sudo_mode.rb:63:in `sudo_mode'\r\n```\r\n\r\nCan you help me with that please.\r\n\r\nRegards,\r\n\r\nRobin\r\n"},"comment":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/comments/145278774","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/515#issuecomment-145278774","issue_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/515","id":145278774,"user":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars.githubusercontent.com/u/3433835?v=3","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T18:58:43Z","updated_at":"2015-10-03T18:58:43Z","body":"``` \r\nActionView::Template::Error (undefined method `unpack' for nil:NilClass):\r\n...\r\napp/controllers/users_controller.rb:58:in `block (2 levels) in index\r\n'```\r\n\r\nIt seems to come from the render method : http://www.redmine.org/projects/redmine/repository/entry/trunk/app/controllers/users_controller.rb#L58"}}