P4DTI issue job000140

TitleLogical field name "code" not allowed in TeamTrack
Assigned userGareth Rees
DescriptionWe can't allow a field whose logical field name is "code" in TeamTrack because Perforce uses the Python key "code" to return status information.
AnalysisWe detect and complain about it in "//info.ravenbrook.com/project/p4dti/ve...ode/replicator/configure_teamtrack.py#1" but we could map TeamTrack "code" to "_code" or something, like we do with TeamTrack states called "new". RB 2000-12-06
Logical field names in TeamTrack generally have mixed case, and anyway can be changed so this is not worth having a special case for in the configuration generator. Instead, document it in the AG. GDR 2000-12-08
How foundinspection
Evidence"//info.ravenbrook.com/project/p4dti/ve...ode/replicator/configure_teamtrack.py#1" line 260
Observed in0.4.0
Test procedure<http://www.ravenbrook.com/project/p4dti/master/test/test_p4dti.py>, section 6.3
Created byRichard Brooksby
Created on2000-12-07 13:12:01
Last modified byGareth Rees
Last modified on2010-10-06 21:35:18
History2000-12-06 RB Created.
2000-12-08 GDR Corrected title and description.


Change Effect Date User Description
5819 closed 2000-12-11 15:50:11 Gareth Rees Merged changes from version 0.4 back to master.
5682 closed 2000-12-08 12:00:39 Gareth Rees Translate state name "ignore" to "_ignore" in configuration generators.
Documented translation of "ignore" state. Improved advice about what to do with a field called "code". Fixed table of contents.