Closed Bug 291048 Opened 20 years ago Closed 19 years ago

Empty cells in show_activity.cgi when removed/added is zero

Categories

(Bugzilla :: User Interface, defect)

2.20
defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: wicked, Assigned: bugzilla-mozilla)

Details

(Keywords: regression)

Attachments

(1 file)

If removed or added column in show_active.cgi consists of only a zero the field
is displayed as a blank. This same problem was fixed in bug 92713 (2001-07-30)
but was probably regressed again when show_active.cgi was templatized in bug
117760 (2002-04-03). This happens atleast when everconfirmed is changed from 0 to 1.

One probably needs to change template/en/default/bug/activity/table.html.tmpl
file around line 78. This is assuming template directive like [% IF
change.removed %] thinks zeros shouldn't be displayed.
Confirming just to test the bug
Status: UNCONFIRMED → NEW
Ever confirmed: true
Indeed, taking.
Assignee: nobody → bugzilla-mozilla
Version: 2.19.2 → 2.20
Very simple. tested. changed change.added to use .defined as well.
Attachment #205576 - Flags: review?(wicked)
Comment on attachment 205576 [details] [diff] [review]
Patch v1, current 2.22 cvs. applies to 2.20 cleanly.

r=LpSolit for tip and 2.20.
Attachment #205576 - Flags: review?(wicked) → review+
Status: NEW → ASSIGNED
Flags: approval?
Flags: approval2.20?
Target Milestone: --- → Bugzilla 2.20
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
tip:

Checking in template/en/default/bug/activity/table.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/activity/table.html.tmpl,v  <--  table.html.tmpl
new revision: 1.10; previous revision: 1.9
done

2.20:

Checking in template/en/default/bug/activity/table.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/activity/table.html.tmpl,v  <--  table.html.tmpl
new revision: 1.9.2.1; previous revision: 1.9
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: