Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues
Perforce Defect Tracking Integration
| Title: | Bugzilla replicator doesn't like spaces in enum fields |
| Status: | closed |
| Priority: | essential |
| Assigned user: | Nick Barnes |
| Product: | p4dti |
| Organization: | Ravenbrook |
| Description: | The Bugzilla replicator doesn't translate an "enum" field correctly from Bugzilla to Perforce if the values in the field include spaces or other non-word characters. Two enum fields ("bug_status" and "resolution") are handled specially. For other enum fields (i.e. "priority" and "op_sys" in the default Bugzilla schema) there is no special handling and the replicator will fail if given a value with a non-word character such as a space. |
| Analysis: | There is code in configure_bugzilla to analyse the Bugzilla schema and create appropriate jobspec entries and translator objects. There is a bug in this code for enum fields: it uses translator.translator() instead of enum_translator. |
| How found: | customer |
| Evidence: | customer email: <http://info.ravenbrook.com/mail/2001/11/29/10-57-14/0.txt> |
| Observed in: | 1.2.1 |
| Introduced in: | 0.5.0 |
| Test procedure: | <http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 19 |
| Created by: | Nick Barnes |
| Created on: | 2002-01-02 16:20:41 |
| Last modified by: | gdr |
| Last modified on: | 2002-01-21 14:22:15 |
| History: | 2002-01-02 NB created. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 25683 | closed | 2002-01-07 16:58:44 | Nick Barnes | Enable the replicator to handle Bugzilla enum fields containing spaces. Also extend the test suite to handle alternative MySQL dump files and to use getattr and setattr where appropriate to access config parameters. |
Generated at 2008-08-29 19:10:10 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $
Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may make and distribute verbatim copies of this document provided that you do not charge a fee for this document or for its distribution.