P4DTI issue job000363

TitleTeamTrack integration replicates issues needlessly
Assigned userGareth Rees
DescriptionWhen you update an issue in TeamTrack, the replicator replicates that issue and a number of related issues, needlessly.
AnalysisThis 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 foundmanual_test
Evidence<http://www.ravenbrook.com/project/p4dt...c/2001-07-19/release-1.1.3-test-report/>, item 3.
Observed in1.1.3
Introduced in1.1.2
Created byGareth Rees
Created on2001-07-19 14:43:09
Last modified byGareth Rees
Last modified on2001-12-10 19:51:17
History2001-07-19 GDR Created.


Change Effect Date User Description
14337 closed 2001-07-19 21:01:15 Gareth Rees 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().