Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues

Perforce Defect Tracking Integration


P4DTI issue job000309

Title: Underscores don't work in Perforce jobviews
Status: closed
Priority: essential
Assigned user: gdr
Product: p4dti
Organization: Perforce
Description: If you have an underscore in your jobview then it doesn't work. For example, the jobview "state=ready_for_test" doesn't select a job even if the State field for that job has the value "ready_for_test".
Analysis: This is Perforce job 5518.
This is a bug in Perforce which we've observed in 2000.1 and 2000.2, both from the command line and from P4Win.
It's important to fix this for the P4DTI because the P4DTI translates spaces to underscore when translating keyword fields like the state field.
We could ameliorate the problem by converting spaces to something else, but then we'd have to provide an upgrade path for people who were using the old P4DTI.
GDR 2001-04-30: Note that this is documented Perforce behaviour. "p4 help jobview" says, "Only alphanumeric words (no punctuation) can be searched for". I still think that this is going to be a problem for users of the P4DTI. We've met several organizations which use Perforce userids with underscores in them.
GDR 2001-06-19: This defect is present in P4D/NTX86/2001.1beta/22346.
GDR 2002-02-01: This defect is fixed in P4D/LINUX22X86/main/29455.
How found: customer
Evidence: <http://www.ravenbrook.com/project/p4dti/doc/2000-11-03/quokka-alpha-test/>, item 3.
<http://www.ravenbrook.com/project/p4dti/doc/2001-04-27/release-1.0.5-test-report/>, item 3.
<http://info.ravenbrook.com/mail/2001/04/27/17-53-30/0.txt>
Observed in: 1.0.5
Introduced in: 0.0.0
Test procedure: none
Created by: gdr
Created on: 2001-04-27 13:18:23
Last modified by: gdr
Last modified on: 2002-02-01 16:35:35
History: 2001-04-27 GDR Created.
2001-04-30 GDR Added analysis.
2001-05-01 GDR Added reference to job 5518 at Perforce.
2001-06-19 GDR Added analysis for Perforce 2001.1 beta.
2002-02-01 GDR Closed: this is fixed in Perforce 2002.1.

Fixes

Change Effect Date User Description
26176 closed 2002-01-28 20:50:48 gdr Don't replicate changes in Perforce that we made in the previous poll.
Perforce interface records server changelevel.
In Perforce 2002.1, use the P4DTI-user field as an accurate guide as to who last edited the job.

Generated at 2008-10-07 07:02:34 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