[Bug 482620] New: Web Client Error when navigating to My Projects for the first time
https://bugzilla.novell.com/show_bug.cgi?id=482620 User marcus@grenangen.se added comment https://bugzilla.novell.com/show_bug.cgi?id=482620#c13 Summary: Web Client Error when navigating to My Projects for the first time Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: marcus@grenangen.se QAContact: adrian@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 After login in to the Build Service and visiting the "My Projects" for the first time, without having any projects created, the request fails with the following error. OpenSUSE Webclient Error: Error Details: Errorcode: unknown Message: undefined method `each' for nil:NilClass Exception from Webclient: ActionView::TemplateError: undefined method `each' for nil:NilClass Stack Trace: On line #13 of project/_request_table.rhtml 10: <th>State</th> 11: <th>Requester</th> 12: </tr> 13: <% requests.each do |req| -%> 14: <tr> 15: <td><%= req.method_missing(:id) %></td> 16: <td><%= req.submit.source.project %></td> app/views/project/_request_table.rhtml:13:in `_run_erb_47app47views47project47_request_table46rhtml' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/base.rb:342:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/base.rb:342:in `execute' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/template_handlers/compilable.rb:29:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/template_handlers/compilable.rb:29:in `render' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/partial_template.rb:20:in `render' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:26:in `benchmark' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/benchmark.rb:8:in `realtime' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:26:in `benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/partial_template.rb:19:in `render' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/template.rb:22:in `render_template' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/partials.rb:110:in `render_partial' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/base.rb:277:in `render' app/views/project/list_my.rhtml:55:in `_run_erb_47app47views47project47list_my46rhtml' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/base.rb:342:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/base.rb:342:in `execute' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/template_handlers/compilable.rb:29:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/template_handlers/compilable.rb:29:in `render' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/template.rb:35:in `render' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/template.rb:22:in `render_template' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_view/base.rb:248:in `render_file' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:1112:in `render_for_file' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:845:in `render_with_no_layout' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/layout.rb:251:in `render_without_benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:51:in `render' /usr/lib64/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/benchmark.rb:8:in `realtime' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:51:in `render' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:1161:in `default_render' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:1167:in `perform_action_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/filters.rb:579:in `call_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/1.8/benchmark.rb:293:in `measure' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/rescue.rb:201:in `perform_action' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:529:in `send' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:529:in `process_without_filters' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/filters.rb:568:in `process_without_session_management_support' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/session_management.rb:130:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/base.rb:389:in `process' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:149:in `handle_request' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:107:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:104:in `synchronize' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:104:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi' /usr/lib64/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/dispatcher.rb:35:in `dispatch' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:103:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:153:in `with_signal_handler' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:101:in `process_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:78:in `process_each_request' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:612:in `each_cgi' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each' /usr/lib64/ruby/vendor_ruby/1.8/fcgi.rb:609:in `each_cgi' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:77:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:76:in `catch' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:76:in `process_each_request' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:50:in `process!' /usr/lib64/ruby/gems/1.8/gems/rails-2.1.1/lib/fcgi_handler.rb:24:in `process!' /srv/www/vhosts/opensuse.org/webclient/current/public/dispatch.fcgi:24 ActionView::TemplateError: undefined method `each' for nil:NilClass seems to be the root of the problem. Reproducible: Always Steps to Reproduce: 1. Create a new account 2. Login to the Build service 3. Click on the "My Projects" Link Actual Results: The request fails with the mentioned error. Expected Results: See "My Projects" page with no projects in yet -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=482620 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |adrian@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=482620 User suse-tux@gmx.de added comment https://bugzilla.novell.com/show_bug.cgi?id=482620#c1 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED CC| |suse-tux@gmx.de Resolution| |FIXED --- Comment #1 from Marcus Hüwe <suse-tux@gmx.de> 2009-03-11 06:52:27 MST --- Thanks for the report - I just committed a fix (r6788). So I think we can close this bug (if not please reopen). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=482620 User abauer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=482620#c2 --- Comment #2 from Andreas Bauer <abauer@novell.com> 2009-03-11 08:26:19 MST --- The fix is live on build.o.o. Thanks Marcus. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com