Bug 794480 - Hardware catalog software errors on login/logout when xmlrpc service is unavailable
Summary: Hardware catalog software errors on login/logout when xmlrpc service is unava...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Hardware Catalog
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Pengfei Xue
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 807440
TreeView+ depends on / blocked
 
Reported: 2012-02-16 22:44 UTC by Rob Landry
Modified: 2012-04-20 00:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-20 00:37:03 UTC


Attachments (Terms of Use)
new patch for Hwcert.pm (1.28 KB, patch)
2012-03-01 08:44 UTC, Pengfei Xue
pxue: review? (rlandry)
pxue: review? (tfu)
pxue: review? (wshen)
Details | Diff

Description Rob Landry 2012-02-16 22:44:16 UTC
Description of problem:

Attempting to logout while bz was in maint mode software errors with:


bz xmlrpc call failed: no call object returned on User.login at Hwcert.pm line 206.


This should not exit with a software error but a more intentional message as to not alarm the user.  A similar message appears when logging in; again it's not that a login was possible but that it should not software error but go to an error handler code path.

Comment 5 Pengfei Xue 2012-03-01 08:44:15 UTC
Created attachment 566781 [details]
new patch for Hwcert.pm

if xmlrpc service unavailable when logging in, clear the browser's cookies those are Bugzilla_cookie and Bugzilla_login, if not, after service is back when calling xmlrpc logout, there will be an error 'login required', and will cause confuse.

Comment 8 Wei Shen 2012-03-05 02:23:57 UTC
ok, patch looks good

Comment 11 Pengfei Xue 2012-03-31 07:03:36 UTC
verified on web2


Note You need to log in before you can comment on or make changes to this bug.