https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292015-01-24T21:05:25ZRedmineRedmine - Defect #18945: new user page showing 500 errorhttps://www.redmine.org/issues/18945?journal_id=610842015-01-24T21:05:25ZVincent Gerris
<ul></ul><p>sushil kumar wrote:</p>
<blockquote>
<p>500 internal server error for both "new user registration" tab and "my account" tab<br />ActionView::Template::Error (undefined method `name' for nil:NilClass):<br />8: ) <span>><br />9: </p><br />10: <</span>= content_tag 'div', :id => 'notified-projects', :style => (@user.mail_notification == 'selected' ? '' : 'display:none;') do <span>><br />11: <</span>= render_project_nested_lists(@user.projects) do |project|<br />12: content_tag('label',<br />13: check_box_tag(<br />14: 'user[notified_project_ids][]',<br />app/helpers/application_helper.rb:268:in `render_project_nested_lists'<br />app/views/users/_mail_notifications.html.erb:11:in `block in <em>app_views_users</em>_mail_notifications_html_erb__192379183_49062580'<br />app/views/users/_mail_notifications.html.erb:10:in `_app_views_users__mail_notifications_html_erb__192379183_49062580'<br />app/views/my/account.html.erb:38:in `block in <em>app_views_my_account_html_erb</em>_35267432_49329300'<br />app/helpers/application_helper.rb:1056:in `labelled_form_for'<br />app/views/my/account.html.erb:9:in `_app_views_my_account_html_erb__35267432_49329300'</p>
</blockquote>
<p>I have the same issue. It is caused by Ruby 2.2.0. When reverting to 2.1.5 it works.<br />Hopefully this will be fixed.</p> Redmine - Defect #18945: new user page showing 500 errorhttps://www.redmine.org/issues/18945?journal_id=610912015-01-25T09:17:57ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Ruby 2.2 will be supported in Redmine 3.0</p> Redmine - Defect #18945: new user page showing 500 errorhttps://www.redmine.org/issues/18945?journal_id=610922015-01-25T09:18:08ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/18947">Feature #18947</a>: Ruby 2.2 support</i> added</li></ul> Redmine - Defect #18945: new user page showing 500 errorhttps://www.redmine.org/issues/18945?journal_id=627422015-04-02T13:35:37ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/18936">Defect #18936</a>: ActionView::Template::Error (undefined method `name' for nil:NilClass) rendering issue pages after upgrade to 2.6.1 stable</i> added</li></ul>