ABE dumps everything and restores to blank on syntax error
Posted: Thu Sep 15, 2011 7:44 pm
Giorgio,
I noticed something with the latest dev build. I entered a rule, clicked ok and then it pops up saying there is a syntax error and offers to save or don't save. So obviously and intuitively if there is a syntax error, you don't save and leave, you don't save and go back to fix it. But when you click on don't save, it just dumps EVERYTHING in the user rule and puts back the original "...experiment here" comment and that's IT. ALL the rules are GONE!
Don't know why such a scorched earth restoring to default but it certainly needs to be looked into and fixed brother, this is not good. I mean I have a copy of my rules so restoring it was not hard, but if you don't and you have made changes, you lose everything, that's not good. Logically when it gives a syntax error and you click don't save it should just take you back to where you were so you can modify it and try to save again, not dump everything and clear the slate like that.
I noticed something with the latest dev build. I entered a rule, clicked ok and then it pops up saying there is a syntax error and offers to save or don't save. So obviously and intuitively if there is a syntax error, you don't save and leave, you don't save and go back to fix it. But when you click on don't save, it just dumps EVERYTHING in the user rule and puts back the original "...experiment here" comment and that's IT. ALL the rules are GONE!
Don't know why such a scorched earth restoring to default but it certainly needs to be looked into and fixed brother, this is not good. I mean I have a copy of my rules so restoring it was not hard, but if you don't and you have made changes, you lose everything, that's not good. Logically when it gives a syntax error and you click don't save it should just take you back to where you were so you can modify it and try to save again, not dump everything and clear the slate like that.