New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix errors during configuration update when reading obsolete options. #388
Conversation
Thix fix makes old confiuration options, for which there is no Option instance in the code anymore, accessible. Fixes PICARD-642.
0f5125a
to
add62c5
Compare
I have reproduced the issue and tested the fix on both Windows and Linux by using pre 1.0 versions of Picard to generate the configuration and then running the latest code. For reference the commits that changed the option loading (and thus created this problem) were: |
Looks good to me. My only concern would be if |
I guess one example would be if the options don't exist for some reason and |
Thanks for the feedback, I applied some refactoring. This really makes this code much better, the |
Looks great 👍 |
Can i merge it to master ? |
It's ready for merging.
Either that or merge it to the 1.3.1 branch and later merge that branch back to master. |
Fix errors during configuration update when reading obsolete options.
Fix errors during configuration update when reading obsolete options. (cherry picked from commit 0e43410)
This fix makes old confiuration options, for which there is no Option instance in the code anymore, accessible.
Fixes PICARD-642.
@mwiencek: Since you reworked the parts of the code that finally led to this, you maybe have some better idea how to implement this.