Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312877 Details for
Bug 457016
XMLRPC bugzilla.createBug does not set Priority
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
v1 adding setpriority group membership as a condition to set priority at bug creation time
setpriority.patch (text/plain), 1.45 KB, created by
Noura El hawary
on 2008-07-29 14:48:48 UTC
(
hide
)
Description:
v1 adding setpriority group membership as a condition to set priority at bug creation time
Filename:
MIME Type:
Creator:
Noura El hawary
Created:
2008-07-29 14:48:48 UTC
Size:
1.45 KB
patch
obsolete
>Index: Bugzilla/Bug.pm >=================================================================== >RCS file: /cvs/qa/rh_bugzilla_3/Bugzilla/Bug.pm,v >retrieving revision 1.45 >diff -p -u -r1.45 Bug.pm >--- Bugzilla/Bug.pm 14 Jul 2008 22:54:20 -0000 1.45 >+++ Bugzilla/Bug.pm 29 Jul 2008 14:46:45 -0000 >@@ -1469,7 +1469,7 @@ sub _check_op_sys { > > sub _check_priority { > my ($invocant, $priority) = @_; >- if (!ref $invocant && !Bugzilla->params->{'letsubmitterchoosepriority'}) { >+ if (!ref $invocant && !Bugzilla->params->{'letsubmitterchoosepriority'} && !Bugzilla->user->in_group('setpriority')) { > $priority = Bugzilla->params->{'defaultpriority'}; > } > $priority = trim($priority); >Index: template/en/default/bug/create/create.html.tmpl >=================================================================== >RCS file: /cvs/qa/rh_bugzilla_3/template/en/default/bug/create/create.html.tmpl,v >retrieving revision 1.10 >diff -p -u -r1.10 create.html.tmpl >--- template/en/default/bug/create/create.html.tmpl 28 Mar 2008 01:34:33 -0000 1.10 >+++ template/en/default/bug/create/create.html.tmpl 29 Jul 2008 14:47:03 -0000 >@@ -259,7 +259,7 @@ function handleWantsAttachment(wants_att > <td colspan="2"> </td> > [% END %] > >- [% IF Param('letsubmitterchoosepriority') %] >+ [% IF Param('letsubmitterchoosepriority') || user.in_group('setpriority') %] > [% sel = { description => 'Priority', name => 'priority' } %] > [% INCLUDE select %] > [% ELSE %]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dkl
: review+
Actions:
View
|
Diff
Attachments on
bug 457016
: 312877