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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
df4dade5
Commit
df4dade5
authored
Feb 06, 2007
by
olav%bkor.dhs.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 366187: Fix regression; ensure dependent changed bugmail will be sent out
Patch by Olav Vitters <olav@bkor.dhs.org> r=LpSolit a=LpSolit
parent
e0f4e652
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
BugMail.pm
Bugzilla/BugMail.pm
+1
-0
User.pm
Bugzilla/User.pm
+8
-1
No files found.
Bugzilla/BugMail.pm
View file @
df4dade5
...
...
@@ -438,6 +438,7 @@ sub Send {
$relationship
,
$diffs
,
$comments
{
$lang
},
$deptext
,
$changer
,
!
$start
))
{
...
...
Bugzilla/User.pm
View file @
df4dade5
...
...
@@ -1338,7 +1338,8 @@ our %names_to_events = (
# Note: the "+" signs before the constants suppress bareword quoting.
sub
wants_bug_mail
{
my
$self
=
shift
;
my
(
$bug_id
,
$relationship
,
$fieldDiffs
,
$commentField
,
$changer
,
$bug_is_new
)
=
@_
;
my
(
$bug_id
,
$relationship
,
$fieldDiffs
,
$commentField
,
$dependencyText
,
$changer
,
$bug_is_new
)
=
@_
;
# Make a list of the events which have happened during this bug change,
# from the point of view of this user.
...
...
@@ -1390,6 +1391,12 @@ sub wants_bug_mail {
$events
{
+
EVT_COMMENT
}
=
1
;
}
# Dependent changed bugmails must have an event to ensure the bugmail is
# emailed.
if
(
$dependencyText
ne
''
)
{
$events
{
+
EVT_DEPEND_BLOCK
}
=
1
;
}
my
@event_list
=
keys
%
events
;
my
$wants_mail
=
$self
->
wants_mail
(
\
@event_list
,
$relationship
);
...
...
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