4.0b2 - saving template menus saves badly formatted file
Closed this issue · 2 comments
RealRaven2000 commented
When modifying the list of templates, the smartTemplates.json file is saved with a bad format.
This is a regression caused by changes from the deprecated OS.File.writeAtomic to IOUtils - I wanted to save a prettyfied json file like before and used writeJSON but that needs the object as parameter (and not a JSON string) . This leads to a bad json file that cannot be read anymore
RealRaven2000 commented
quick fix version - using writeUTF8 instead - install over the previous versions (4.0b1 or 4.0b2) and prereleases to avoid losing the templates list!
RealRaven2000 commented
Fixed in 4.0b3; published on 17/02/2023