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 286101 Details for
Bug 422341
3.38: Add proper needinfo actor support to multi edit bug list
[?]
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]
Patch to add needinfo? for multi bug edit in process_bug.cgi
process_bug_needinfo.patch (text/plain), 1.46 KB, created by
David Lawrence
on 2007-12-12 19:58:45 UTC
(
hide
)
Description:
Patch to add needinfo? for multi bug edit in process_bug.cgi
Filename:
MIME Type:
Creator:
David Lawrence
Created:
2007-12-12 19:58:45 UTC
Size:
1.46 KB
patch
obsolete
>Index: process_bug.cgi >=================================================================== >RCS file: /cvs/qa/rh_bugzilla_2_18/process_bug.cgi,v >retrieving revision 1.90 >diff -u -r1.90 process_bug.cgi >--- process_bug.cgi 5 Nov 2007 20:40:47 -0000 1.90 >+++ process_bug.cgi 12 Dec 2007 19:55:42 -0000 >@@ -185,6 +185,14 @@ > Bugzilla::FlagType::validate($cgi, $::FORM{'id'}); > #} > >+# Validate against the workflow definition >+# XXX-dkl Need to figure out a clean way to not have to hard code product names here >+if ( $cgi->param('product') =~ /Red Hat Enterprise Linux/ ) { >+ my $bug = new Bugzilla::Bug($cgi->param('id'), Bugzilla->user->id); >+ my $workflow = Bugzilla->workflow; >+ $workflow->validateChange(Bugzilla->user, $bug, $cgi); >+} >+ > $::FORM{'dontchange'} = '' unless exists $::FORM{'dontchange'}; > > $logger->debug("End Data/Security Validation"); >@@ -1133,6 +1141,14 @@ > }; > /^needinfo$/ && do { > $::FORM{'bug_status'} = 'NEEDINFO'; >+ # REDHAT start >+ # Add needinfo? flag if multi edit >+ if ( ! $::FORM{'id'} ) { >+ my $cgi = Bugzilla->cgi; >+ my $needinfo_type = Bugzilla::FlagType::get_by_name('needinfo'); >+ $cgi->param(-name=>"flag_type-" . $needinfo_type->{'id'}, -value=>'?'); >+ } >+ # REDHAT end > last STATUS; > }; > /^modified$/ && do { >
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
Actions:
View
|
Diff
Attachments on
bug 422341
:
286101
|
286121