TextareaCache icon indicating copy to clipboard operation
TextareaCache copied to clipboard

fixed bugs in ta_database.updateDatabaseVersion()

Open crnkv opened this issue 10 months ago • 0 comments

Several things fixed:

  1. A piece of code correctly updated 'setting' in the database by comparing data.setting to _resetData.setting, but that code got deleted for no reason in the commit a6efa62 . I put it back.
  2. The code for updating 'version' in the commit 07b3e88 had mistaken me.data.setting.version for me.data.version
  3. Only 'setting' was skipped in the for-loop, which is not right
  4. Now correctly updates 'setting' and 'exceptions', deleting option values that are not in _resetData.setting

crnkv avatar Apr 16 '24 18:04 crnkv