| Title | Bugzilla replicator doesn't like spaces in enum fields |
| Status | closed |
| Priority | essential |
| Assigned user | Nick Barnes |
| 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 | Gareth Rees |
| Last modified on | 2002-01-21 14:22:15 |
| History | 2002-01-02 NB created. |