depwl9992 / anomalyjobs

Automatically exported from code.google.com/p/anomalyjobs
0 stars 0 forks source link

BLETTER_DEL is ignored #165

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Read the helpfiles about BLETTERs: "All actions have BLETTER_<action> hooks 
.."
2. Observe that the job parent object has a BLETTER_DEL attribute.
3. Delete a job
4. Observe that BLETTER_DEL is never triggered, because TRIG_BROADCAST is 
omitted from the delete command.

What is the expected output?
No emit when jobs are deleted.

What do you see instead?
No emit when jobs are deleted, but for the wrong reason. :)

Please use labels and text to provide additional information.
Might be useful to consistently process ALL jobs through the same set of 
add/broadcast/post/mail hooks on a common attribute to avoid per-command 
inconsistency.

Fixing this will require adding the trig_broadcast to +job/delete, and removing 
the (never called) BLETTER_DEL broadcast, so behavior remains as before.

Original issue reported on code.google.com by widdis@gmail.com on 16 Mar 2012 at 2:23

GoogleCodeExporter commented 9 years ago
Since behavior is as desired this is ok to push off to the next release, when 
we can tackle the common attribute hook processing in one swell foop.

Original comment by widdis@gmail.com on 2 Apr 2013 at 7:05