P4DTI issue job000173

TitleWrong Perforce server version causes installation to fail mysteriously
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionIf you have the wrong Perforce version (2000.1 or earlier) then installation will fail with a mysterious error message. It should instead say something like "Perforce release not supported; changelevel NNNNN required."
You get an error like this:
"Perforce error: Error in job spec specification.
Missing required field 'Values-State'."
AnalysisThis is because the Perforce server changelevel isn't checked until replicator.init() is called, which isn't until after the integration has attempted to change the jobspec.
How foundcustomer
Evidence<http://info.ravenbrook.com/mail/2001/01/08/20-11-16/0.txt>
Observed in0.4.2
Test procedure<http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 6.3
Created byGareth Rees
Created on2001-01-14 23:29:23
Last modified byGareth Rees
Last modified on2001-12-10 19:18:17
History2001-01-14 GDR Created.

Fixes

Change Effect Date User Description
7381 closed 2001-01-19 17:07:47 Gareth Rees Fixing job000173:
Check Perforce server version in replicator.__init__(), not replicator.init().