diff CHANGES.txt @ 7251:ab0ea9f03866

fix initialization of option_validator When using option_validator to validate config.ini entries for detectors or extensions, the list of validators was not reset when the tracker was re-opened. This led to the second command run in roundup-admin crashing when the main config.ini file was read. On second tracker open/read option_validator lists an extension/detector option that doesn't exist in the main config.ini. When it tried to validate, the missing option caused a crash. This only happens if a validator is added in an extension/detector. If the only validators ae ones for the main config.ini everything works fine across multiple tracker opens.
author John Rouillard <rouilj@ieee.org>
date Wed, 12 Apr 2023 11:20:14 -0400
parents 78c3f4aced76
children 24cbf3a41e8a
line wrap: on
line diff
--- a/CHANGES.txt	Wed Apr 12 09:52:51 2023 -0400
+++ b/CHANGES.txt	Wed Apr 12 11:20:14 2023 -0400
@@ -81,6 +81,9 @@
 - upgrade from jquery-3.5.1 to jquery-3.6.3. Update user.help.html
   to new version.  (John Rouillard)
 - Dockerfile scanned with hadolint. Fixed multiple issues. (John Rouillard)
+- fix crash due to invalid initialization/reset of configuration.py
+  option_validators. Crashed roundup-admin on second command if an
+  option_validator was added by a detector or extension. (John Rouillard)
 
 Features:
 

Roundup Issue Tracker: http://roundup-tracker.org/