P4DTI issue job000362

TitleCan't update cases from Perforce in TeamTrack 5.0
Statusclosed
Prioritycritical
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionIf you run the TeamTrack integration with a database that you created in TeamTrack 4.5 and upgraded to TeamTrack 5.0, then you can't update cases in Perforce.
I got this error:
(P4DTI-891X) Defect tracker error (TeamShare API error): ERROR: Unable to find transition 0.
AnalysisThis was reported a while back [1] but I didn't understand the significance of the report since it appeared to work in both 4.5 and 5.0. It appears that using transition 0 to mean "Update" works in 4.5 and 5.0 but not in a database upgraded from one to the other.
This indicates a serious omission from the automated test suite: we test transitioning issues from Perforce but not updating issues from Perforce.
GDR 2001-07-24: This is be because we don't grant the replicator enough privileges to perform the update. See [3]. TeamShare recommend that the replicator user should have "Submit", "Update All Issues" and "Transition All Issues" privileges for all projects which are replicated. The Administrator's Guide needs to be changed to provide this advice and to diagnose the error message.
How foundmanual_test
Evidence[1] <http://info.ravenbrook.com/mail/2001/06/27/19-31-59/0.txt>
[2] <http://www.ravenbrook.com/project/p4dt...c/2001-07-19/release-1.1.3-test-report/>, item 2.
[3] <http://www.ravenbrook.com/project/p4dt...c/2001-07-24/release-1.1.3-test-report/>, item 11.
Observed in1.1.3
Introduced in1.1.2
Test procedure<http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 10.3.3
Created byGareth Rees
Created on2001-07-19 14:27:11
Last modified byGareth Rees
Last modified on2001-12-10 19:51:14
History2001-07-19 GDR Created.
2001-07-20 GDR Added test case.
2001-07-24 GDR Added analysis and evidence.

Fixes

Change Effect Date User Description
14479 closed 2001-07-25 17:25:28 Gareth Rees The replicator user needs submit, update and transition privileges in TeamTrack 5.0.