P4DTI issue job000971

TitleNo P4DTI section when Bz 2.17+ bug is "formatted for printing"
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionThe P4DTI adds a section to the bug display to show Perforce information relating to a bug (e.g. bug fixes). This section is displayed in the regular Bugzilla bug display but not when a bug is "formatted for printing" (either on its own or as part of a long list). This job is specific to Bugzilla 2.17+ because the cause and symptom are different there from on earlier versions of Bugzilla (up to 2.16.6): see also job000956.
AnalysisThe "formatted for printing" display is produced by long_list.cgi rather than show_bug.cgi. In our integration with Bugzilla 2.17.7, most of the P4DTI code has been moved to globals.pl (and accessed from Bug.pm), so it is easy to access from long_list.cgi. The template hook which we use in 2.17.7 is shared between show_bug.cgi and long_list.cgi, so we don't need separate template work. The template can distinguish the two cases by looking at the "mode" variable ("show" for long_list, "edit" for show_bug).
How foundinspection
EvidenceI just know
Observed in2.1.2
Created byNick Barnes
Created on2004-07-20 17:17:39
Last modified byNick Barnes
Last modified on2004-07-20 17:19:54
History2004-07-20 NB Created.

Fixes

Change Effect Date User Description
92718 closed 2004-05-05 16:13:33 Nick Barnes Make P4DTI patch to Bugzilla 2.17.7 work in all the various conditions it might be encountered.