P4DTI issue job000491

Titlejobspec has bad defaults for optional user fields
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionIn the Bugzilla integration, if the administrator has added a user field (e.g. 'reporter', 'qa_contact') to replicated_fields, creating jobs in Perforce with the default value of this field will fail.
AnalysisThe jobspec is created with a default of '0' for this field. '0' doesn't translate to any Bugzilla user, so this is plainly broken.
This is strongly related to job000437, and has been broken out because it has a separate fix.
How foundinspection
EvidenceI just know.
Observed in1.3.3
Introduced in1.3.0
Test proceduretest_p4dti.py new_p4_job, if 'reporter' is in replicated_fields
Created byNick Barnes
Created on2002-04-02 16:43:45
Last modified byNick Barnes
Last modified on2002-04-02 16:45:29

Fixes

Change Effect Date User Description
27800 closed 2002-04-02 16:44:44 Nick Barnes User fields in the jobspec should default to $user.