Closed Bug 299653 Opened 19 years ago Closed 19 years ago

sanitycheck.cgi should catch missing bugs.creation_ts

Categories

(Bugzilla :: Bugzilla-General, defect)

2.19.3
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

Attachments

(2 files)

Per joel's bug 292544 comment 30, sanitycheck.cgi should catch undefined bugs.creation_ts, if any. Keep the security flag till we make bug 292544 public.
Target Milestone: --- → Bugzilla 2.18
Depends on: 292544
2.20rc1 is released; removing the sec flag.
Group: webtools-security
This patch makes sure no problem arised as per bug 292544 comment 30. This is the only way to fix the problem (if any) except hacking the DB directly as bugs with no creation date are invisible to everyone, including admins.
Assignee: general → LpSolit
Status: NEW → ASSIGNED
Attachment #205619 - Flags: review?(wurblzap)
Attachment #205622 - Flags: review?(wurblzap)
Comment on attachment 205619 [details] [diff] [review] patch for tip and 2.20, v1 Tested; works. r=wurblzap with one prerequisite: the status text reads incorrect to me and should probably be "Checking for bugs with no creation date" (note the additional "for"). But then again, I'm no native speaker. Perhaps you can ask a native speaker look at this. It's a little strange to be offered to view the affected bugs in a bug list -- this list will always be empty, of course. As a nit, the "Checking bugs with no creation date" message could perhaps be made to prepare for this, for example "Checking for bugs which are invisible because they have no creation date". Something less clumsy than this would be even better :) I'm not convinced yet we want this on 2.18...
Attachment #205619 - Flags: review?(wurblzap) → review+
Flags: approval?
Flags: approval2.20?
Attachment #205622 - Flags: review?(wurblzap) → review+
Flags: approval2.18?
bug 292544 got checked in on 2.18 so this should, too. But I agree with comment 4 that the text needs to be cleaned up.
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
tip: Checking in sanitycheck.cgi; /cvsroot/mozilla/webtools/bugzilla/sanitycheck.cgi,v <-- sanitycheck.cgi new revision: 1.109; previous revision: 1.108 done 2.20: Checking in sanitycheck.cgi; /cvsroot/mozilla/webtools/bugzilla/sanitycheck.cgi,v <-- sanitycheck.cgi new revision: 1.97.2.4; previous revision: 1.97.2.3 done 2.18.4: Checking in sanitycheck.cgi; /cvsroot/mozilla/webtools/bugzilla/sanitycheck.cgi,v <-- sanitycheck.cgi new revision: 1.72.2.5; previous revision: 1.72.2.4 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

Created:
Updated:
Size: