P4DTI issue job000497

TitleBugzilla can't replicate lastdiffed field if we run processmail
Assigned userNick Barnes
DescriptionBugzilla bugs have a 'lastdiffed' field, updated by the 'processmail' script when it has inspected a bug for changes to include in a notification email. If we run the 'processmail' script (i.e. if the 'bugzilla_directory' config parameter is set) and also replicate 'lastdiffed' (i.e. if 'lastdiffed' is in the 'replicated_fields' config parameter) then we are always out-of-sync on that field, and the consistency check fails.
AnalysisWhen the P4DTI updates a bug, it checks for changes made as a result of the update. That check takes place before running the 'processmail' script (which is the last thing we do in a poll), so it misses the change to lastdiffed.
[NB 2003-08-12:] The P4DTI could easily detect this configuration and refuse to start (or to replicate 'lastdiffed'?)
How foundinspection
Evidencerunning the test suite with 'lastdiffed' in 'replicated_fields'
Observed in1.4.0
Introduced in1.2.1
Created byNick Barnes
Created on2002-04-03 17:49:03
Last modified byNick Barnes
Last modified on2018-07-05 17:28:01
History2002-04-03 NB Created.
2003-08-12 NB Added analysis note about detecting this configuration.
       2018-07-05 NB Suspended because the P4DTI is obsolete.