P4DTI issue job000165

TitleBugzilla configuration parameters are not checked
Statusclosed
Priorityoptional
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionWe don't check the Bugzilla configuration parameters. For instance, we don't check that dbms_port is a number, or dbms_host is a string, or that bugzilla_user is an email address.
The result is that if a user sets a configuration parameter incorrectly, or leaves it unset, they may get a very obscure internal error from, for instance, MySQLdb.
AnalysisShould add loads of checks in configure_bugzilla.py.
How foundcustomer
Evidence<URL: http://info.ravenbrook.com/mail/2001/01/04/01-20-15/0.txt>
Observed in0.5.1
Introduced in0.5.0
Created byNick Barnes
Created on2001-01-04 10:43:28
Last modified byGareth Rees
Last modified on2001-12-10 19:16:29
History2001-01-04 NB Created.
2001-01-16 RB Downgraded to optional.

Fixes

Change Effect Date User Description
7358 closed 2001-01-19 12:10:35 Nick Barnes Configuration checking for TeamTrack; fix a config check for Bugzilla; remove code to handle administrator_address or smtp_server being None.
7356 closed 2001-01-19 11:56:33 Nick Barnes Fix typo in history.
7298 closed 2001-01-18 15:01:26 Nick Barnes Share configuration checks between Bugzilla and TeamTrack.
7155 closed 2001-01-15 16:52:21 Nick Barnes Validation for config items.