P4DTI issue job000838

TitleP4DTI can't replicate 'user' fields.
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionSome Bugzilla fields (e.g. 'reporter' 'qa_contact') are user identifiers, which should be replicated as Perforce user names. If the P4DTI 2.1.0 replicator is set to replicate one of these, it fails on startup with the message "NameError: global name 'user_name_length' is not defined".
AnalysisRewriting configure_bugzilla.py for the configurable jobspec requirements of P4DTI 2.1 included refactoring the code which constructs Perforce job field specifications. Some parameters required by this code for user-type fields were not passed into the refactored function, which then fails with the specified message.
How foundcustomer
Evidence[1] <http://info.ravenbrook.com/mail/2003/12/16/00-30-00/0.txt>
Observed in2.1.0
Introduced in2.1.0
Created byNick Barnes
Created on2003-12-17 12:00:40
Last modified byNick Barnes
Last modified on2003-12-17 12:02:53
History2003-12-17 NB Created.

Fixes

Change Effect Date User Description
68927 closed 2003-12-17 11:52:17 Nick Barnes Fix problem replicating 'user' type fields.