Closed
Bug 290087
Opened 20 years ago
Closed 13 years ago
Need a database-based test for groups
Categories
(Bugzilla :: Testing Suite, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mkanat, Unassigned)
Details
Groups right now involves probably our most complex SQL and logic in Bugzilla.
It's really easy to forget something when editing groups code, or to somehow
mess it up.
If we have a test suite, one of the things it really needs to test is
third-level groups. That is:
I am a member of A
because I am a member of B
because I am a member of C
I'm a bit worried that we're missing this case a lot of the time in our current
code, just looking over it, but it's hard to be sure without some standard test.
Comment 1•20 years ago
|
||
fortunately, the only code that needs to understand this in in User.pm and
editusers.cgi, so it should not be necessary to check it all over the place.
Updated•17 years ago
|
Assignee: zach → testing
Comment 2•13 years ago
|
||
I don't see how you expect to check this by looking at the code only. There are way too many ways to write SQL queries. This is the kind of tests which should be done by our QA tests.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•