Ravenbrook / Projects / Perforce Defect Tracking Integration / Issues

Perforce Defect Tracking Integration


P4DTI issue job000363

Title: TeamTrack integration replicates issues needlessly
Status: closed
Priority: critical
Assigned user: gdr
Product: p4dti
Organization: Ravenbrook
Description: When you update an issue in TeamTrack, the replicator replicates that issue and a number of related issues, needlessly.
Analysis: This is because the cursor implementation is bogus as it doesn't restrict its output to records matching the query.
Note that the cursor implementation is especially bogus when fetching issues from the cases table in changed_entities, as in that case we know which records we want and all we have to do is parcel them up into groups that are small enough to fit into memory.
How found: manual_test
Evidence: <http://www.ravenbrook.com/project/p4dti/doc/2001-07-19/release-1.1.3-test-report/>, item 3.
Observed in: 1.1.3
Introduced in: 1.1.2
Test procedure: none
Created by: gdr
Created on: 2001-07-19 14:43:09
Last modified by: gdr
Last modified on: 2001-12-10 19:51:17
History: 2001-07-19 GDR Created.

Fixes

Change Effect Date User Description
14337 closed 2001-07-19 21:01:15 gdr Fixed bug in cursor emulation (it wasn't ensuring that all returned records matched the conditions). Added specialized cursor emulation for fetching a list of cases when you know their ids: this is used in changed_entities().

Generated at 2008-12-02 05:03:50 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