After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 77541 - Severity setting from Bug-buddy not always used to create bug
Severity setting from Bug-buddy not always used to create bug
Status: RESOLVED FIXED
Product: bugzilla.gnome.org
Classification: Infrastructure
Component: [obsolete] bug-buddy parsing
unspecified
Other other
: Normal major
: ---
Assigned To: Fernando Herrera
Bug-buddy Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-04-03 22:38 UTC by kz
Modified: 2005-01-02 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
showcase, latest. (86.19 KB, image/png)
2003-01-03 16:40 UTC, kz
  Details
Add major,minor,trivial,enhancement to Sunrise.pm (1.16 KB, patch)
2004-12-28 02:38 UTC, Olav Vitters
committed Details | Review

Description kz 2002-04-03 22:39:25 UTC
Package: bug-buddy
Severity: normal
Version: 2.1.4
Synopsis: prority settings does not applied to bugzilla post.
Bugzilla-Product: bug-buddy
Bugzilla-Component: general

Description:
I have made a blocker post of control-center::settings-daemon.
It posted, however, as normal post. I think this is a bug. right?




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-04-03 17:39 -------

Reassigning to the default owner of the component, jacob@ximian.com.

Comment 1 Luis Villa 2002-04-22 05:46:37 UTC
I'm pretty sure bug-buddy does the right thing here. Can you possibly
duplicate this and send me a copy of the email that was sent?
Comment 2 kz 2003-01-03 16:40:24 UTC
Created attachment 13338 [details]
showcase, latest.
Comment 3 Fernando Herrera 2003-01-03 17:54:39 UTC
Well, bug-buddy does the right thing (tm) :). The problem is in the 
halloween import. Dunno if in the mail to xml translation (sunrise) 
or in the xml import (import.xml). Anyway this is only with "trivial" 
priorities (well, I don't have tested with enh, but critical is 
working). I don't have access to my bugzilla.gnome.org local replic, 
so it'll be difficut for me to fix it until I come back to home. 
Anyway, I reopen it, and move to bugzilla product
Comment 4 Kjartan Maraas 2003-07-02 22:03:50 UTC
Confirming then.
Comment 5 Luis Villa 2004-03-25 17:38:21 UTC
Fernando, think you can take a look at this again?
Comment 6 Olav Vitters 2004-12-28 02:24:38 UTC
Assuming severity iso priority. Changing summary.

This is not caused by bug-buddy, but by Sunrise.pm (part of halloween module).

Longer description (+how it all works):
Email message is read by submit.pl. It uses Halloween.pm to parse the email
message submitted by bug-buddy. The 'severity' setting is stored in a hash under
'severity'. This hash is used as a parameter to the sunrise procedure in Sunrise.pm.
The sunrise function sets in that hash 'bug_severity' based on some known values
in 'severity'. It only recognizes (case-sensitive!) normal, grave, critical,
wishlist. All others will have severity 'Normal'. <== Cause of the bug
Sunrise.pm creates a XML structure. Submit.pl submits this per email. This again
is parsed by bug-buddy-import.pl (part of bugzilla-new module). This uses
'bug-severity' to set the severity (case-insensitive).

I'll make a patch to add the missing severities (except 'blocker') to Sunrise.pm
and make it case-insensitive.
Comment 7 Olav Vitters 2004-12-28 02:38:02 UTC
Created attachment 35247 [details] [review]
Add major,minor,trivial,enhancement to Sunrise.pm

Adds major,minor,trivial,enhancement to severity check in Sunrise.pm.

Not sure if this is the best way to fix it. Another option would be to change
blockers to normal, grave to major, wishlist to enhancement and use the
original severity for all else.

I've tested it until the XML email creation (changed the email To: of a
submit.pl copy) part locally.
Comment 8 Fernando Herrera 2005-01-02 15:34:26 UTC
Comment on attachment 35247 [details] [review]
Add major,minor,trivial,enhancement to Sunrise.pm

Great! thanks for digging onto this!