thelastWallE / OctoprintKlipperPlugin

A plugin for a better integration of Klipper into OctoPrint.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

By default, any config errors result in whole config not being saved

TTN- opened this issue · comments

commented

As the title says, by default, any single parsing error will cause the whole config to dispose of any changes.
I just spent the last hour meticioulsly going over all my config, I go to save it and the whole thing is cleared.

image

I just wanted to save to make sure I didn't loose progress as I'm working ... and well, now its gone.

Solution: can we please at least save the file, but still throw the error? or give an option?

commented

Ok reload last changes button restores the config! Phew!!!

If you want to save without to check for parsing disable Check parsing on save.
The checkbox for this is where the editor dialog is.

I also changed the whole behavior in the new version.
The editor is in an extra dialog there so it will be not closed automatically.