After cloning a Rule with RulesConditional elements everything can go crazy due to that cloned elements has wrong parent — they stick to the old parents instead of acquiring new ones. This leads to unpredictable results but here are some symptoms:
* Rules occasionally rolls back to some old states
* When you save an element in a rule, new elements suddenly appear from nowhere (and those are - some old previously deleted elements
* Your rule doesn't work as expected
I'm yet to discover the reason of why RulesConditional doesn't update parent correctly when cloning.
Dear Taihao, do you read this? :)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | conditional_rules-clone-2423701-1-7.x.patch | 964 bytes | OnkelTem |
Comments
Comment #1
OnkelTem commentedOk, let's try this one.
Please test.
Comment #2
OnkelTem commentedComment #3
bretbenziger commentedThis patch worked for me, but I could not simply apply the patch, as the lines didn't line up correctly. I did add the code to the correct place though and it worked.
Comment #4
OnkelTem commentedThanks for the feedback @bretbenziger!
Let me guess — you haven't updated Rules Conditional to dev version? If so, please do, this is required.
But I'm glad it helped!