P4DTI issue job000204

TitleIssue owned by non-existent Perforce user causes crash
Statusclosed
Priorityessential
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionIf the Perforce server is running without any spare licences, then when the replicator tries to overwrite a job whose owner is a user that doesn't exist in Perforce, then you get the error message "Can't create a new user - over licence quota".
AnalysisThis is because the Perforce command "p4 user -o foo" (when foo is not a user) doesn't work unless there's a spare licence. This is even though it doesn't create a new user (possibly a bug in Perforce).
The method user_email_address() should catch this error and do the sensible thing.
How foundcustomer
Evidence<http://info.ravenbrook.com/mail/2001/01/14/20-09-34/0.txt>
<http://info.ravenbrook.com/mail/2001/01/18/15-36-10/0.txt>
<http://www.ravenbrook.com/project/p4dt...c/2001-01-26/release-0.4.2-test-report/>, item 1
Observed in0.4.2
Created byGareth Rees
Created on2001-02-13 15:57:53
Last modified byGareth Rees
Last modified on2001-12-10 19:23:28
History2001-02-13 GDR Created.

Fixes

Change Effect Date User Description
8490 closed 2001-02-14 20:08:40 Gareth Rees user_email_address returns None for the address of a non-existent user even when there are no more Perforce licences.