Bug 902828 - report.createPythonUnhandledExceptionSignature(**params) overrides the 'type' item of params if present
Summary: report.createPythonUnhandledExceptionSignature(**params) overrides the 'type'...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libreport
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Moskovcak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 885690
TreeView+ depends on / blocked
 
Reported: 2013-01-22 13:38 UTC by Vratislav Podzimek
Modified: 2015-02-01 22:55 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-25 23:04:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vratislav Podzimek 2013-01-22 13:38:14 UTC
Description of problem:
If I use

signature = report.createPythonUnhandledExceptionSignature(**params)

with 'params' containing an item 'type' with some value, the resulting signature has 'type' overriden to 'libreport'.


How reproducible:
100%


Steps to Reproduce:
>>> import report
>>> signature = report.createPythonUnhandledExceptionSignature(type="mytype", component="mycomponent", hashmarkername="myhasmarker", duphash="aaef", reason="exception", description="mydesc")
>>> signature.get("type")
('libreport', 10)
  
Actual results:
('libreport', 10)

Expected results:
('mytype', X)

Additional info:
Bug #885690 cannot be resolved until this one is fixed.

Comment 1 Jiri Moskovcak 2013-01-22 15:21:01 UTC
commit cee6be2364703ffe78850969f08e09f22cb83944
Author: Jiri Moskovcak <jmoskovc>
Date:   Tue Jan 22 16:15:27 2013 +0100

    don't overwrite "type" rhbz#902828

Comment 2 Vratislav Podzimek 2013-01-23 10:13:36 UTC
I've tested this change and it seems to be working.

Comment 3 Fedora Update System 2013-02-05 13:37:40 UTC
abrt-2.1.0-1.fc17,libreport-2.1.0-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.1.0-1.fc17,libreport-2.1.0-2.fc17

Comment 4 Fedora Update System 2013-02-05 13:41:50 UTC
abrt-2.1.0-1.fc18,libreport-2.1.0-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/abrt-2.1.0-1.fc18,libreport-2.1.0-2.fc18

Comment 5 Fedora Update System 2013-02-08 02:19:22 UTC
Package abrt-2.1.0-1.fc17, libreport-2.1.0-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.1.0-1.fc17 libreport-2.1.0-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2065/abrt-2.1.0-1.fc17,libreport-2.1.0-2.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-02-11 08:40:21 UTC
abrt-2.1.1-1.fc18, libreport-2.1.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-2111/abrt-2.1.1-1.fc18,libreport-2.1.1-1.fc18

Comment 7 Fedora Update System 2013-03-20 08:41:19 UTC
abrt-2.1.2-1.fc17,libreport-2.1.2-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.1.2-1.fc17,libreport-2.1.2-1.fc17

Comment 8 Fedora Update System 2013-03-20 08:56:19 UTC
abrt-2.1.2-1.fc18,libreport-2.1.2-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/abrt-2.1.2-1.fc18,libreport-2.1.2-1.fc18

Comment 9 Fedora Update System 2013-03-25 23:04:27 UTC
abrt-2.1.2-2.fc18, libreport-2.1.2-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-03-27 00:38:47 UTC
abrt-2.1.2-2.fc17, libreport-2.1.2-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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