Bug 861899

Summary: [RFE] make possible re-entering BZ credentials if bug processing fails due to bad BZ username/passwd
Product: [Fedora] Fedora Reporter: Martin Kyral <mkyral>
Component: abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 18CC: abrt-devel-list, dvlasenk, hugh, iprikryl, jberan, jfilak, jmoskovc, kklic, mmilata, mtoman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-12 01:16:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
Screenshot none

Description Martin Kyral 2012-10-01 09:41:17 UTC
Created attachment 619709 [details]

Description of problem:
If processing a bug with bad (mistyped) BZ username and/or password, processing of the bug fails, giving the user no obvious way to re-enter the credentials and process the bug again.

The only way to do so, is to open abrt-gui / gnome-abrt manually, fix the BZ settings and then retry to report the issue.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. configure wrong BZ username or password
2. try to report a bug
Actual results:
Processing fails, the failure message is:
--- Running report_Bugzilla ---
Logging into Bugzilla at https://bugzilla.redhat.com
fatal: RPC failed at server.  The username or password you entered is not valid.
(exited with 1)

and the only button in the reporting window is "Close"

Expected results:
After the BZ submit fails due to bad username/password, a dialog for fixing the BZ settings is displayed and the window contains a "Try again" button.

Additional info:

Comment 1 D. Hugh Redelmeier 2012-11-17 02:35:23 UTC
I agree.  A minimal work-around would put some hints in the failure message.

Thanks, Martin.  I will try to rerun abrt using the technique you outlined.

Hmm. That doesn't seem to work.  There is no gnome-abrt on my F17.  There is an abrt-gui but I don't see any way to tell it that I want to change my credentials.

Comment 2 D. Hugh Redelmeier 2012-11-17 19:35:49 UTC
Thanks to help from Sergio <sergiocmailbox-userlist@yahoo.com.br> on the Fedora Users List, I was able to change the credentials.

"Edit": "Preferences" gets you an "Even Configuration" window.

In that window, you need to select "Bugzilla: report to Bugzilla bug
tracker" and click on "Configure Event".

Then you get a window where you can adjust credentials.

Comment 3 Jakub Filak 2012-12-06 14:52:08 UTC
Fixed in git

commit 0eda6c9b976f22d0468cf9376592b13c1b297614
Author: Jakub Filak <jfilak@redhat.com>
Date:   Wed Dec 5 17:30:56 2012 +0100

    ask for BZ login/BZ password if not provided by conf
    Signed-off-by: Jakub Filak <jfilak@redhat.com>

commit 20813f2d6b0f2d2600572665f156ca7ae0650672
Author: Jakub Filak <jfilak@redhat.com>
Date:   Wed Dec 5 18:01:30 2012 +0100

    ask for BZ login/BZ pwd if Login attempt failed
    - closes rhbz#861899
    Signed-off-by: Jakub Filak <jfilak@redhat.com>

Comment 4 Fedora Update System 2012-12-20 08:55:00 UTC
abrt-2.0.20-1.fc18,btparser-0.24-1.fc18,libreport-2.0.20-1.fc18 has been submitted as an update for Fedora 18.

Comment 5 Fedora Update System 2012-12-20 09:45:24 UTC
abrt-2.0.20-1.fc17 has been submitted as an update for Fedora 17.

Comment 6 Fedora Update System 2012-12-21 01:29:24 UTC
Package abrt-2.0.20-1.fc18, btparser-0.24-1.fc18, libreport-2.0.20-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.20-1.fc18 btparser-0.24-1.fc18 libreport-2.0.20-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-01-12 01:16:04 UTC
abrt-2.0.20-1.fc18, btparser-0.24-1.fc18, libreport-2.0.20-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-02-26 02:38:07 UTC
abrt-2.0.20-1.fc17, btparser-0.24-1.fc17, libreport-2.0.20-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.