| Title | Bugzilla integration doesn't remove old configuration items |
| Status | closed |
| Priority | essential |
| Assigned user | Nick Barnes |
| Organization | Ravenbrook |
| Description | The Bugzilla integration keeps mutual configuration for Bugzilla and the P4DTI in a table in the Bugzilla database called p4dti_config. It checks the contents of this table each time the replicator starts, and updates it if necessary. However, it only ever adds or updates rows in this table; it will not delete rows. Sometimes (e.g. when changelist_url or the new job_url change to None) it should delete rows. |
| Analysis | Add delete_config function to bugzilla.py, with the obvious semantics, and call it from set_config. |
| How found | manual_test |
| Evidence | Noticed during testing of job_url. |
| Observed in | 1.1.1 |
| Introduced in | 0.5.0 |
| Test procedure | <http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 11 |
| Created by | Nick Barnes |
| Created on | 2001-07-09 16:02:17 |
| Last modified by | Gareth Rees |
| Last modified on | 2001-12-10 19:49:48 |
| History | 2001-07-09 NB Created. |