Closed Bug 71020 Opened 24 years ago Closed 24 years ago

Error trying to edit components

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: brian, Assigned: justdave)

References

()

Details

In the latest CVS update, when I try to edit components, I get the following error: Software error: select login_name from profiles where userid = brian@brianz.net: You have an error in your SQL syntax near '@brianz.net' at line 1 at globals.pl line 171. For help, please send mail to the webmaster (root@localhost), giving this error message and the time and date of the error. Thanks!
can you provide any more details? I am unable to reproduce this. Is it giving you this error on any other pages? What exactly are you typing in the form, or are you getting this just trying to load the page to begin with? Are you logged in yet at the time? etc.
Just looked through the code and it appears the only place that "select login_name from profiles where userid =" is used is in globals.pl at line 620 (inside of the DBID_to_name sub). It appears that everyplace DBID_to_name is called it is being called with the db id... but this software error suggests that it's being called instead with the e-mail address (login_name). Can you provide any more detail about which screen you were on when you saw this error (I've been unable to reproduce it)? Also, are you sure that your CVS pull was 100% clean (no conflicts)?
I just setup the bugzilla server a little bit ago. Everything was working fine until I cvs update (ed) it. The update went clean, and everything was fine. If you want to log in and take a look, go to the above URL, login brian@brianz.net password: sndbxhgf . I'm using it personally right now, so there is no real problem if something bad happens. Go to query | Edit bugzilla products and components, click on any of the products, click edit components. Hrm.. just ran a sanity check, and the DB has a few errors in it. Looks like something is really messed up somewhere. The components aren't even appearing in the query window, yet when you add, there are there. Alos, only bug 4 shows. Hrm..... guess one of thse interesting cases. Looks like this one is my prob. That's what happens when you stay on the cutting development edge. :) Thanks for the time!
did you run checksetup.pl from the shell after you ran cvs update?
Nope. :) That's probably where I went wrong. Didn't even think too.
per reporters comments.... worksforme
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
vrfy. Thanks for your help!
Status: RESOLVED → VERIFIED
moving to Bugzilla product reassign to default owner/qa for INVALID/WONTFIX/WORKSFORME/DUPLICATE
Assignee: tara → justdave
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.11 → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.