Page 1 of 1

ABE dumps everything and restores to blank on syntax error

Posted: Thu Sep 15, 2011 7:44 pm
by GµårÐïåñ
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.

Re: ABE dumps everything and restores to blank on syntax err

Posted: Thu Sep 15, 2011 8:36 pm
by al_9x
The current expected behavior, already scheduled to be reverted, is removing the current edits on "don't save," but not completely resetting.

I haven't seen it completely reset, can you repro this reliably in a new profile? if so how?

Re: ABE dumps everything and restores to blank on syntax err

Posted: Thu Sep 15, 2011 11:54 pm
by GµårÐïåñ
Yes I am aware of that thread but this was something that went far beyond that and that's why I brought it up as a separate issue and not on the heals of the other topic. It can be reproduced consistently for me and its quite simple.

Open options, go to the ABE tab, select user, add something wrong, click ok - when prompted choose don't save and it will wipe the whole file and go back to the default out of the box state of the user rules with the comment line and nothing else. I have always done edits in a text file, then paste into this but today I happen to tweak something real quick, made a typo and it screamed and hence what led to the issue experienced. Had I done it like usual and posted it without error, I probably would not have caught it anyway. Also how I was able to restore my rules, because I had a copy by virtue of my usual habit.