P4DTI issue job000376

TitleIn TeamTrack integration, P4Win crashes if you try to create a job
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionIf you try to create a job in P4Win when you're using the P4DTI jobspec, then P4Win crashes with the error message "integer division by zero".
AnalysisThis is Perforce job 6179 [1] and 6295 [4]. It seems to be caused by us using "line" as the type for the Title field rather than "text" which is in the default Perforce jobspec and which doesn't provoke this error. It seems clear that this is a bug in P4Win but Perforce point out that we shouldn't be changing fields 101 to 105.
We should work around this by using "text" as the field type and being careful about how the field is translated.
How foundcustomer
Evidence[1] <http://info.ravenbrook.com/mail/2001/07/30/18-33-02/0.txt>
[2] <http://info.ravenbrook.com/mail/2001/07/31/00-15-45/0.txt>
[3] <http://info.ravenbrook.com/mail/2001/08/02/17-44-42/0.txt>
[4] <http://info.ravenbrook.com/mail/2001/08/23/16-36-04/0.txt>
Observed in1.1.3
Introduced in0.4.0
Created byGareth Rees
Created on2001-07-31 01:48:52
Last modified byGareth Rees
Last modified on2001-12-10 19:53:43
History2001-07-31 GDR Created.
2001-08-02 GDR Fixed in P4Win build 24949 [3].
2001-08-24 GDR Noted new Perforce job.

Fixes

Change Effect Date User Description
22998 closed 2001-10-05 14:43:00 Gareth Rees Added use_perforce_jobnames parameter to config.py.
Use "text" for type of Title field in TeamTrack.
Specify migrate_p (returning 0) for TeamTrack to prevent migration.
14670 open 2001-08-02 21:34:28 Gareth Rees Tell administrators to update their users' Perforce clients to 2001.1 so that they get the P4WIn fix.