GNOME Bugzilla – Bug 77541
Severity setting from Bug-buddy not always used to create bug
Last modified: 2005-01-02 15:49:01 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.
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?
Created attachment 13338 [details] showcase, latest.
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
Confirming then.
Fernando, think you can take a look at this again?
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.
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 on attachment 35247 [details] [review] Add major,minor,trivial,enhancement to Sunrise.pm Great! thanks for digging onto this!