Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues

Perforce Defect Tracking Integration


P4DTI issue job000289

Title: Users with spaces produce confusing errors
Status: closed
Priority: optional
Assigned user: Richard Brooksby
Product: p4dti
Organization: Ravenbrook
Description: A Bugzilla or TeamTrack user name containing spaces causes confusing errors to be produced by the P4DTI, especially when it doesn't correspond to a Perforce user, and perhaps even when it does.
Analysis: I believe the P4DTI is trying to enter the name with spaces in the "Assigned_to" field in Perforce, but this is illegal, because the field only accepts a single word. It's a bug that we produce such an obscure error in this case. Perhaps we should accept names with spaces anyway. E-mail addresses can legally contain spaces (which aren't significant), although it's rare. RB 2001-04-10
GDR 2001-07-17: We should report this as an error or at least a warning when we check addresses at startup.
GDR 2001-10-02: This can happen in TeamTrack as well; see [3].
How found: customer
Evidence: Look at [1] <http://info.ravenbrook.com/mail/2001/04/09/19-11-54/0.txt> and [2] <http://info.ravenbrook.com/mail/2001/04/09/19-19-05/0.txt> together.
Perforce support CALL#178704.
[3] <http://info.ravenbrook.com/mail/2001/10/01/18-54-57/0.txt>
Observed in: 1.1.6
Introduced in: 0.5.0
Test procedure: <http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>
Created by: Richard Brooksby
Created on: 2001-04-10 13:27:56
Last modified by: gdr
Last modified on: 2002-01-29 14:49:24
History: 2001-04-10 RB Created based on support incident.
2001-10-02 GDR Noted that this can happen in TeamTrack.

Fixes

Change Effect Date User Description
26195 closed 2002-01-29 15:20:24 gdr Updated test data to include user names with spaces in (regression test for job000289).
User translators apply the keyword translator for unknown users, in case they have spaces or other forbidden characters.

Generated at 2008-12-02 05:08:11 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.

Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues