P4DTI issue job000309

TitleUnderscores don't work in Perforce jobviews
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationPerforce
DescriptionIf 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".
AnalysisThis 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 foundcustomer
Evidence<http://www.ravenbrook.com/project/p4dti/doc/2000-11-03/quokka-alpha-test/>, item 3.
<http://www.ravenbrook.com/project/p4dt...c/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 in1.0.5
Created byGareth Rees
Created on2001-04-27 13:18:23
Last modified byGareth Rees
Last modified on2002-02-01 16:35:35
History2001-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 Gareth Rees 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.