Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
cf6262d5
Commit
cf6262d5
authored
Oct 31, 2002
by
bugreport%peshkin.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 95430 Reopening en masse fails.
Patch by jeff.hedlund r=justdave, joel
parent
4fc0668c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
process_bug.cgi
process_bug.cgi
+8
-5
No files found.
process_bug.cgi
View file @
cf6262d5
...
...
@@ -898,12 +898,8 @@ SWITCH: for ($::FORM{'knob'}) {
last
SWITCH
;
};
/^reopen$/
&&
CheckonComment
(
"reopen"
)
&&
do
{
SendSQL
(
"SELECT resolution FROM bugs WHERE bug_id = $::FORM{'id'}"
);
ChangeStatus
(
'REOPENED'
);
ChangeResolution
(
''
);
if
(
FetchOneColumn
()
eq
'DUPLICATE'
)
{
SendSQL
(
"DELETE FROM duplicates WHERE dupe = $::FORM{'id'}"
);
}
last
SWITCH
;
};
/^verify$/
&&
CheckonComment
(
"verify"
)
&&
do
{
...
...
@@ -1058,7 +1054,7 @@ foreach my $id (@idlist) {
"profiles $write, dependencies $write, votes $write, "
.
"products READ, components READ, "
.
"keywords $write, longdescs $write, fielddefs $write, "
.
"bug_group_map $write, flags $write, "
.
"bug_group_map $write, flags $write,
duplicates $write,
"
.
"user_group_map READ, flagtypes READ, "
.
"flaginclusions AS i READ, flagexclusions AS e READ, "
.
"keyworddefs READ, groups READ, attachments READ"
);
...
...
@@ -1243,6 +1239,13 @@ foreach my $id (@idlist) {
if
(
$::comma
ne
""
)
{
SendSQL
(
$query
);
}
# Check for duplicates if the bug is [re]open
SendSQL
(
"SELECT resolution FROM bugs WHERE bug_id = $id"
);
my
$resolution
=
FetchOneColumn
();
if
(
$resolution
eq
''
)
{
SendSQL
(
"DELETE FROM duplicates WHERE dupe = $id"
);
}
my
@groupAddNames
=
();
foreach
my
$grouptoadd
(
@groupAdd
)
{
if
(
!
BugInGroupId
(
$id
,
$grouptoadd
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment