Edgewall Software
Modify

Ticket #2729 (closed defect: duplicate)

Opened 6 years ago

Last modified 6 years ago

notification email is not sent if reporter or owner is NULL

Reported by: lalinsky@… Owned by: jonas
Priority: normal Milestone:
Component: ticket system Version: 0.9.3
Severity: normal Keywords: notification email
Cc:
Release Notes:
API Changes:

Description

If I set both always_notify_reporter and always_notify_owner to true and owner (or reporter, but this shouldn't happen) of the ticket is NULL in the database, notification e-mail is not sent, because the code tries to call None.find('@'), which of course ends up with an exception.

Attachments

Notify.py.diff (579 bytes) - added by lalinsky@… 6 years ago.
simple patch to fix the problem

Download all attachments as: .zip

Change History

Changed 6 years ago by lalinsky@…

simple patch to fix the problem

comment:1 Changed 6 years ago by anonymous

Whoops, the diff is reversed. So use patch -R to apply it or just add those two lines manually :)

comment:2 Changed 6 years ago by eblot

  • Keywords notification email added

comment:3 Changed 6 years ago by sid

Looks like a duplicate of #1538.

comment:4 Changed 6 years ago by anonymous

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #1538.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.