Active
Project:
Conditional Rules
Version:
7.x-1.0-beta1
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
18 Jul 2012 at 09:30 UTC
Updated:
12 Mar 2019 at 11:37 UTC
Jump to comment: Most recent
hi,
I have set up a rule with some actions and 4 conditional blocks,
the rule should take information from webform submission and create entities base on the data.
first problem - if statement always evaluates as false, the same variable I use successfully in a "show message on site" appears empty in the if statement.
even more alarming is the fact that when you edit that if all conditional blocks break and the following blocks are deleted.
(if I edit the first if I loose the other 3 conditional blocks).
thanks in advanced for your help.
Comments
Comment #1
zhangtaihao commentedCould you post an export of the rule?
Comment #2
zhangtaihao commentedComment #3
ciocco commentedI'm experiencing this issue. Here is an export of the rule PRIOR to editing:
Once I clicked "edit" for the If statement in the conditional, this reverted the rule to a previous state, several iterations back, infact. Here is the export of the RULE after having clicked edit and the system reverted the rule to a previous state:
Comment #4
olegvo commentedI have the same problem. I lost several conditional rules after editing. I made the rule yesterday and tested it, everything worked well. Today I found that some "if" actions were lost. Is this problem fixed in dev. version?
Comment #5
zhangtaihao commentedI'm afraid I wasn't able to reproduce the issue. It could be that one of the plugins needed to reset the cache of a parent element, but I could not tell which one.
I will investigate further when I have some time. Meanwhile, perhaps you could try clearing Rules cache before performing actions that you have known to revert to an earlier state.
Comment #6
tuccio commentedHi,
I have been using Conditional Rules for a while and I think it's a great concept and module, but I have also experienced several times the issue of losing changes and having the Rule revert to a much older state. I believe this thread is about this problem.
I am not sure which changes cause the issue (although I think that pulling already existing items out of and into conditions has to do with this), but the issue in my case has happened after several "Flush all caches actions", so the old data seems to be stored in a location that is not affected by the Flush all caches command.
I am also escalating the priority to critical because of the loss of time and effort caused by this issue since it may happen at any time and because the module allows the creation of rules of unlimited complexity, then the loss may as well be unlimited.
Comment #7
zhangtaihao commentedI have actually now run into the issue a couple of times. My colleague has run into it more.
It would seem that, if any part of Rules fails an integrity check (i.e. shows red text to indicate error), Rules caches the error state until some change triggers it to revert to the error state (or just before; I couldn't quite tell).
We have now taken care to not cause any integrity errors, e.g. usually caused by renaming variables and thus breaking action settings. We now no longer run into this issue.
Could you try that approach and determine if it's still an issue?
Comment #8
tuccio commentedThank you for your help. I'll try to avoid integrity errors and see if this fixes the problem.
Comment #9
MrFusion commentedSame problem. But in my case it's almost impossible to create needed rules without fixing this bug because of their complexity (100, 200+ actions in one rule). I had even more weired case. In the evening I finished this rule, saved it and checked. Everything was there. In the morning some actions disappeared. Hope for fixing this bug soon!
Comment #10
Joel MMCC commented@MrFusion (#9):
So, it may be happening during a cron run?
Comment #11
sprucemoose commentedI have just come across this thread after suffering the same problem. I have witnessed the same weird behavior as MrFusion (#9) with rules reverting to an earlier state without being touched through the UI.
Comment #12
delacosta456 commentedhi
i have also faced this situation and sometime this looks to happen when the list of actions and conditions is long ... Also what i had notice (I AM not SURE) but it's looks like the module Rules Filter doesn't play well with Rules conditional .. If somebody else has it install please confirm.
Thanks