Ticket #108 (new defect)

Opened 7 months ago

Triggering constraints in Krule

Reported by: pag Assigned to: pag
Priority: minor Milestone: XA2 phase 1
Component: Krule Version: 1.2.1
Keywords: rules Cc:

Description

When Krule runs a rule, it triggers other rules that it affects the underlying constraints for. These triggered rules test if they should run by comparing the size of their resolution to the last time they were run, and proceeding if that size has changed.

This needs to become a 2 stage process. Rules should trigger constraints, and constraints should run the above test. If the size of a constraint resolution changes, then it triggers the rule that it belongs to.