Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues

Perforce Defect Tracking Integration


P4DTI issue job000492

Title: Test suite doesn't cope with 'reporter' in replicated_fields
Status: closed
Priority: optional
Assigned user: Nick Barnes
Product: p4dti
Organization: Ravenbrook
Description: If you add 'reporter' to replicated_fields in test/config_swan.py, the test suite fails in test_p4dti.py:migrate, saying there's no Bugzilla user corresponding to Perforce user ''. This is because the translate_jobspec function provided by that test doesn't provide a 'reporter' field (required by the new jobspec, but not present in the migrated jobs).
This was found when thinking about job000437.
Analysis: Add a condition in the translate_jobspec() function of that test, to add a reporter to the job if it is required by the replicated_fields parameter.
How found: inspection
Evidence: I just know
Observed in: 1.4.0
Introduced in: 1.3.0
Test procedure: test_p4dti.py migrate
Created by: Nick Barnes
Created on: 2002-04-02 16:57:54
Last modified by: Nick Barnes
Last modified on: 2002-04-09 12:53:12
History: 2002-04-02 NB Created.

Fixes

Change Effect Date User Description
27801 closed 2002-04-02 17:05:14 Nick Barnes migration test needs to add 'Reporter' field in translate_jobspec. job000492.

Generated at 2008-12-01 21:31:43 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $

Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may make and distribute verbatim copies of this document provided that you do not charge a fee for this document or for its distribution.

Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues