If a rule is cloned and the event is changed, the default labels of conditions and actions may not be correct.
Example:
1) Add a new triggered rule, event "After saving new content"
2) Add an action "Publish content"
3) Clone this rule and change the event to "After updating existing content"
4) The action has the wrong label "Publish created content", it should be "Publish updated content"
A solution would be to call a label update function for a new cloned rule.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | rules-552334.patch | 3.23 KB | klausi |
Comments
Comment #1
klausiHere is a patch that does a label update on cloning and every time the rule settings are updated (important if the event and variable names change).
Comment #2
klausiComment #3
klausiHm, I must have missed something here ... this is not working yet.
Comment #4
mitchell commentedComment #5
fagoAs this bug-report is rather old, please verify it's still valid in the latest dev version and re-open if so. For now, I'm marking it as closed.