[Bug 668789] New: Cannot view requests from web interface
https://bugzilla.novell.com/show_bug.cgi?id=668789 https://bugzilla.novell.com/show_bug.cgi?id=668789#c0 Summary: Cannot view requests from web interface Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.1 Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: webui AssignedTo: adrian@novell.com ReportedBy: mfernand@broadcom.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729) After I upgraded to OBS 2.1.5 in my private OBS instance, we cannot view requests from the webui. Example: When we try and view a request, http://amigo/request/show/178 it results in these errors: OBS Web Interface Error: Error Details: Errorcode: unknown Message: undefined method `each_review' for nil:NilClass This is an extract from the webui production logfile: [I|#26266] Redirected to http://amigo/request/show/178 [I|#26266] Completed in 233ms (DB: 129) | 302 Found [http://amigo/package/create_submit_request?package=watchdogd&project=home%3Axxxx&target_package=watchdogd&target_project=foo] [I|#26266] Processing RequestController#show (for ::ffff:10.136.64.100 at 2011-02-01 11:36:41) [GET] [I|#26266] Parameters: {"action"=>"show", "id"=>"178", "controller"=>"request"} [D|#26266] Setting return_to: "/request/show/178" [D|#26266] Authenticating with iChain mode: off [I|#26266] Authenticated request to "/request/show/178" from xxxx [D|#26266] Cache read: person_xxxx [E|#26266] MemCacheError (No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Feb 01 11:36:44 -0800 2011)): No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Feb 01 11:36:44 -0800 2011) [D|#26266] Cache miss: person_xxxx({}) [D|#26266] Person.find( nil, xxxx) [D|#26266] [REST] find( Person, [{:login=>"xxxx"}] ) [D|#26266] http_do #1: method: get url: http://amigo:81/person/xxxx [D|#26266] Request took 0.00719 seconds [E|#26266] MemCacheError (No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Feb 01 11:36:44 -0800 2011)): No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Feb 01 11:36:44 -0800 2011) [D|#26266] Cache write (will save 7.52ms): person_xxxx [D|#26266] Cache read: xxxx_involved_requests ... ... [D|#26266] [REST] find( BsRequest, [{:id=>"178"}] ) [D|#26266] http_do #1: method: get url: http://amigo:81/request/178 [D|#26266] Request took 0.092535 seconds [E|#26266] MemCacheError (No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Feb 01 11:36:44 -0800 2011)): No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Tue Feb 01 11:36:44 -0800 2011) [D|#26266] Cache write (will save 92.76ms): BsRequest_8f85517967795eeef66c225f7883bdcb [F|#26266] NoMethodError (undefined method `each_review' for nil:NilClass): app/controllers/request_controller.rb:54:in `show' /srv/www/obs/webui/public/dispatch.fcgi:24 [E|#26266] rescue_action: caught NoMethodError: undefined method `each_review' for nil:NilClass [D|#26266] ERROR: unknown; undefined method `each_review' for nil:NilClass Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=668789 https://bugzilla.novell.com/show_bug.cgi?id=668789#c1 Sascha Peilicke <speilicke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |speilicke@novell.com Resolution| |FIXED AssignedTo|adrian@novell.com |speilicke@novell.com --- Comment #1 from Sascha Peilicke <speilicke@novell.com> 2011-02-02 14:40:35 UTC --- Regression was fixed, OBS-2.1.5.1 patch level release packages are on the way. -- 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=668789 https://bugzilla.novell.com/show_bug.cgi?id=668789#c2 --- Comment #2 from Malcolm Fernandes <mfernand@broadcom.com> 2011-02-10 00:56:32 UTC --- I've successfully verified the fix in OBS-2.1.5.1 -- 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