RealRaven2000 / SmartTemplates

Thunderbird Add-on: SmartTemplates
http://smarttemplates.quickfolders.org/
Other
25 stars 15 forks source link

4.0b2 - saving template menus saves badly formatted file #247

Closed RealRaven2000 closed 1 year ago

RealRaven2000 commented 1 year ago

When modifying the list of templates, the smartTemplates.json file is saved with a bad format.

image

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 1 year ago

quick fix version - using writeUTF8 instead - install over the previous versions (4.0b1 or 4.0b2) and prereleases to avoid losing the templates list!

smartTemplate-fx-4.0pre273.zip

RealRaven2000 commented 1 year ago

Fixed in 4.0b3; published on 17/02/2023