Closed Bug 243845 Opened 21 years ago Closed 21 years ago

bugzilla barfs if you try to watch a non-existent user

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 233124

People

(Reporter: robzilla, Assigned: justdave)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Build Identifier: If you try and become the watcher of a non-existent user, bugzilla will spit out all sorts of crazy errors. Reproducible: Always Steps to Reproduce: 1. go to the e-mail tab in user preferences 2. try to watch a user which doesn't exist Actual Results: 2 pages of errors starting with: Template->process() failed twice. First error: undef error - DBD::mysql::st execute failed: Table 'namedqueries' was not locked with LOCK TABLES [for statement `` SELECT name, query, linkinfooter, public FROM namedqueries WHERE userid=? or public=1 ORDER BY UPPER (name)'']) at Bugzilla/User.pm line 170 Bugzilla::User::queries ('Bugzilla::User=HASH(0x8902b9c)') called at data/template/template/en/custom/global/useful-links.html.tmpl Expected Results: A user-friendly error
*** This bug has been marked as a duplicate of 233124 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.