Modify ↓
Opened 20 years ago
Closed 19 years ago
#2729 closed defect (duplicate)
notification email is not sent if reporter or owner is NULL
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ticket system | Version: | 0.9.3 |
| Severity: | normal | Keywords: | notification email |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal 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 (1)
Change History (5)
by , 20 years ago
| Attachment: | Notify.py.diff added |
|---|
comment:1 by , 20 years ago
Whoops, the diff is reversed. So use patch -R to apply it or just add those two lines manually :)
comment:2 by , 20 years ago
| Keywords: | notification email added |
|---|
Note:
See TracTickets
for help on using tickets.



simple patch to fix the problem