bin/config_list not working as expected (in current CVS)

Hi,
I tried to # cat > toto bounce_score_threshold = 4.0 bounce_info_stale_after = 15 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 15
# bin/config_list -i toto listname (no error)
then go to http://SERVER/mailman/admin/listname/bounce
just to find that bounce_score_threshold = 4.0 bounce_info_stale_after = 0 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 0
Only one in two has been taken into account !?
bin/config_list -o - listname gives:
bounce_info_stale_after = 1296000 bounce_you_are_disabled_warnings_interval = 1296000
-- Fil

Sorry: let's be more precise. The data are lost somewhere in the web interface... here's the full story:
# bin/config_list -i toto listname
# bin/config_list -o - listname | grep bounce | grep -v ^# bounce_processing = 1 bounce_score_threshold = 4.0 bounce_info_stale_after = 15 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 15
(So it's OK. Now go to the web interface: it shows 0s in bounce_info_stale_after and bounce_you_are_disabled_warnings_interval)
# bin/config_list -o - listname | grep bounce | grep -v ^# bounce_processing = 1 bounce_score_threshold = 4.0 bounce_info_stale_after = 15 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 15
(go to the web interface: validate)
# bin/config_list -o - listname | grep bounce | grep -v ^# bounce_processing = 1 bounce_score_threshold = 4.0 bounce_info_stale_after = 0 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 0
(go to the web interface: enter 15 and 15, validate)
# bin/config_list -o - listname | grep bounce | grep -v ^# bounce_processing = 1 bounce_score_threshold = 4.0 bounce_info_stale_after = 1296000 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 1296000
@ Fil <fil@rezo.net> :
Hi,
I tried to # cat > toto bounce_score_threshold = 4.0 bounce_info_stale_after = 15 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 15
# bin/config_list -i toto listname (no error)
then go to http://SERVER/mailman/admin/listname/bounce
just to find that bounce_score_threshold = 4.0 bounce_info_stale_after = 0 bounce_you_are_disabled_warnings = 3 bounce_you_are_disabled_warnings_interval = 0
Only one in two has been taken into account !?
bin/config_list -o - listname gives:
bounce_info_stale_after = 1296000 bounce_you_are_disabled_warnings_interval = 1296000
-- Fil

"F" == Fil <fil@rezo.net> writes:
| I tried to
| # cat > toto
| bounce_score_threshold = 4.0
| bounce_info_stale_after = 15
| bounce_you_are_disabled_warnings = 3
| bounce_you_are_disabled_warnings_interval = 15
| # bin/config_list -i toto listname
| (no error)
F> then go to http://SERVER/mailman/admin/listname/bounce
| just to find that
| bounce_score_threshold = 4.0
| bounce_info_stale_after = 0
| bounce_you_are_disabled_warnings = 3
| bounce_you_are_disabled_warnings_interval = 0
F> Only one in two has been taken into account !?
F> bin/config_list -o - listname gives:
| bounce_info_stale_after = 1296000
| bounce_you_are_disabled_warnings_interval = 1296000
Not a bug, actually. The attributes bounce_info_stale_after and bounce_you_are_disabled_warnings_interval are stored as a float number of seconds but are displayed in the web page as an integral number of days. This conversion occurs automatically when the web page is displayed.
So when 15 seconds are converted are converted to an integral number of days, you get 0 days. That's also why you see the big numbers when you print those values out with config_list.
-Barry
participants (2)
-
barry@zope.com
-
Fil