Closed Bug 14626 Opened 21 years ago Closed 20 years ago
rules API change needed to include "handled"
The closing half of the rules sandwich (DidDoAction()) only gets called when WillDoAction() didn't cancel the operation. However, the cancel boolena returned from WillDoAction() has an overloaded meaning. It could mean we decided we can't do anything, and want to cancel. It could mean we decided we had to handle the even tentirely in the rules code and want to cancel the default processing. But in one of those cases you want to call DidDoAction() and in one you don't. Not enough information. I would like to change the rules api to have WillDoAction return an additional boolean: handled. this would be distinct from cancel in the obvious way.
accepting bug / m12
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
fixed. i guess i'll have to verify as well.
You need to log in before you can comment on or make changes to this bug.