Closed (fixed)
Project:
Ubercart
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Jan 2009 at 22:45 UTC
Updated:
20 Feb 2009 at 18:50 UTC
Jump to comment: Most recent file
This patch should fix that right up. =)
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | uc_file.fix_wanton_notifications.patch | 395 bytes | cha0s |
| ca.features.patch | 5.64 KB | cha0s |
Comments
Comment #1
Island Usurper commentedI think these conditions could be useful, but I don't think they address the underlying issue. With this patch, someone could go into the notification predicates and remove that condition, and all orders suddenly get emails about their new, nonexistent roles and files.
As far as I remember, the only time the notifications are triggered is in the renew actions of those modules. I think uc_roles_action_order_renew() does the right thing in that it only triggers the email when a role feature is in the order. So, only uc_file_action_order_renew() actually needs to be changed.
Comment #2
cha0s commentedThe issue was brought about by emails getting fired off incorrectly... So I guess that check will have to be added to all them too... I figured a CA solution was nicer than a code solution. If someone removes those conditions, then it's not our fault... ;p
Comment #3
cha0s commentedAlright, Ryan voted for your solution... so the new proposed patch follows. =)
I still feel like it'd be nice to have those conditions in place, but this will function the same.
Comment #4
Island Usurper commentedThanks. Committed.