P4DTI issue job000964

TitleBugzilla emails give incorrect values for user fields
Assigned userNick Barnes
DescriptionBugzilla sends email to affected users when a bug changes. This email describes the change: stating which fields in the bug have changed and giving old and new values. If the change is to a user field (e.g. "assigned_to" or "qacontact"), the old and new values should appear as the Bugzilla logins (email addresses) of the users in question. However, if the bug is changed by the P4DTI replicator, these values appear as numeric user IDs instead.
AnalysisBefore adding rows to the bugs_activity and p4dti_bugs_activity tables, we need to check whether the field is a user field. If it is, we need to get the login_name of each user and use that instead.
How foundautomated_test
EvidenceI just know.
Observed in2.1.2
Introduced in0.4.0
Created byNick Barnes
Created on2004-07-16 14:31:41
Last modified byNick Barnes
Last modified on2004-07-16 14:32:18
History2004-07-16 NB Created.


Change Effect Date User Description
97171 closed 2004-05-28 16:43:43 Nick Barnes Bugzilla 2.17.7 support:
  bugmail.pl replacement for processmail.
  Bugzilla 2.17.5 database schema changes (especially new groups system, new product and component IDs, group_control_map controls);
  Cache results of some database queries to speed operation with new or old schemas;
  Changed bug change permission rules;
  Clean up better when deleting a bug;
  Correct values in bugs_activity entries when changing user columns.
97157 open 2004-05-28 16:14:03 Nick Barnes Upgrade P4DTI test suite to handle Bugzilla 2.17.7.