
bugs at lists
May 7, 2009, 10:44 AM
Post #1 of 2
(579 views)
Permalink
|
|
[Bug 1453] can't delete a rule from alerts
|
|
http://bugs.bricolage.cc/show_bug.cgi?id=1453 Sarah Mercier <mercie_s [at] denison> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mercie_s [at] denison --- Comment #1 from Sarah Mercier <mercie_s [at] denison> 2009-05-07 18:44:44 --- So when a rule is deleted, the remove function is called on that rule (which, if I am not mistaken, should be in the file /usr/local/bricolage/lib/Bric/Util/AlertType/Parts/Rule.pm) which essentially sets an attribute called '_del' to 1. But, if we look at /usr/local/bricolage/comp/widgets/add_more/add_more.mc which is being used to create the form, when a rule is removed, the entire row is removed as well, so when the form is sent, that data is no longer part of the submission. Does that mean that when the 'save' in the Rule.pm function is called, all the _del's that were set aren't seen because they are not being passed, which is why the database doesn't know they are being removed? If this is the case, anyone have ideas as to how best to go about fixing it? -- Configure bugmail: http://bugs.bricolage.cc/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
|