Title | Issue owned by non-existent Perforce user causes crash |
Status | closed |
Priority | essential |
Assigned user | Gareth Rees |
Organization | Ravenbrook |
Description | If 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". |
Analysis | This 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 found | customer |
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 in | 0.4.2 |
Created by | Gareth Rees |
Created on | 2001-02-13 15:57:53 |
Last modified by | Gareth Rees |
Last modified on | 2001-12-10 19:23:28 |
History | 2001-02-13 GDR Created. |
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. |