kosivantsov/omegat_scripts

Some custom files not updated if no version_notes.txt available

Closed this issue · 1 comments

Preconditions

  1. Current script in C:\Users\<user>\AppData\Roaming\OmegaT\scripts is version:
  1. Latest script version is saved somewhere else:
  1. Available customization version is 38_c00

Steps to reproduce

  1. Delete files version_notes.txt and local_version_notes.txt.
  2. In OmegaT, go to Tools > Scripting > File > Open Script and select script 0.4.7 (2019-12-30), run that script.
  3. Insert https://cat.capstan.be/OmegaT/dev/index.php if requested

Expected results

  • All config files, scripts and plugins are written in config_dir. For example, file updateConfigBundle.groovy in C:\Users\<user>\AppData\Roaming\OmegaT\scripts is now version 0.4.6 (2020-03-06).

Actual results

  • Config files seem to be downloaded but scripts are not updated.
    image

There's no bug. The problem was in the URL being used (and the custom files being downloaded, please ignore).