Closed Bug 266137 Opened 20 years ago Closed 20 years ago

Cross checks missing in sanitycheck

Categories

(Bugzilla :: Administration, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: Wurblzap, Assigned: Wurblzap)

References

()

Details

Attachments

(2 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Bugzilla 2.19

Several newly introduced cross references are missing in sanitycheck.cgi.

Reproducible: Always
Steps to Reproduce:
Attachment #163436 - Flags: review?
oof.

A bunch of those tables exist in 2.18 also (but not all).  Suppose it would be
possible to get this backported to 2.18, too?
Assignee: justdave → wurblzap
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking2.20+
Flags: blocking2.18+
Target Milestone: --- → Bugzilla 2.18
(In reply to comment #2)
> Suppose it would be possible to get this backported to 2.18, too?

Makes sense to me to port it back.
Attachment #163436 - Attachment description: Let sanitycheck know about newer Bugzilla tables → Let sanitycheck know about newer Bugzilla tables [trunk patch]
Attachment #163542 - Flags: review?
Status: NEW → ASSIGNED
Comment on attachment 163436 [details] [diff] [review]
Let sanitycheck know about newer Bugzilla tables [trunk patch]

+	    # ['series', 'creator'], # Generated series get user id 0

By reading sanitycheck.cgi I found a comment for sub CrossCheck that mentions:

#   the fourth value is optional and is a list reference to values that
#     are excluded from checking.
#
# FIXME: The excluded values parameter should go away - the QA contact
#	 fields should use NULL instead - see bug #109474.

So I guess we could add 0 there (and plan in the future to use NULL instead or
something like that). I see this is done below:

	    ["components", "initialqacontact", "name", ["0"]]);

I assume we need something like that as well.
Attachment #163436 - Flags: review? → review-
Comment on attachment 163542 [details] [diff] [review]
Let sanitycheck know about newer Bugzilla tables [branch patch]

Same here.
Attachment #163542 - Flags: review? → review-
Whiteboard: bug awaiting patch
Allowing 0 for user ID in series table
Attachment #163436 - Attachment is obsolete: true
Attachment #163542 - Attachment is obsolete: true
Attachment #168217 - Flags: review?
Attachment #168218 - Flags: review?
Whiteboard: bug awaiting patch → patch awaiting review
Comment on attachment 168217 [details] [diff] [review]
Patch v1.2 [trunk]

+	    ["bugs_activity", "fieldid"],
+	    ['profiles_activity', 'fieldid']);

Looks inconsistent to use both ' and ". We should choose one and go for it. I
think this can be done upon check in though, and it's more of a nit. Not
blocking my review. :)

Otherwise looks good to go.
Attachment #168217 - Flags: review? → review+
Attachment #168218 - Flags: review? → review+
Flags: approval?
Flags: approval2.18?
Whiteboard: patch awaiting review → patch awaiting approval
Flags: approval?
Flags: approval2.18?
Flags: approval2.18+
Flags: approval+
Whiteboard: patch awaiting approval → patch awaiting checkin
Checking in sanitycheck.cgi;
/cvsroot/mozilla/webtools/bugzilla/sanitycheck.cgi,v  <--  sanitycheck.cgi
new revision: 1.72.2.1; previous revision: 1.72
done

Checking in sanitycheck.cgi;
/cvsroot/mozilla/webtools/bugzilla/sanitycheck.cgi,v  <--  sanitycheck.cgi
new revision: 1.73; previous revision: 1.72
done
Whiteboard: patch awaiting checkin
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: