Closed
Bug 286205
Opened 20 years ago
Closed 20 years ago
Bugzilla Header shown twice if I try to add user without specifying the password
Categories
(Bugzilla :: Administration, task)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.18
People
(Reporter: rajesh.venkatesan, Assigned: Wurblzap)
Details
(Whiteboard: [ready for 2.18.2] [does not affect 2.19.3+])
Attachments
(1 file, 1 obsolete file)
|
3.47 KB,
patch
|
Wurblzap
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 http://bugzilla_url/editusers.cgi?action=add try to add a user without specifying password. Bugzilla header is shown twice. Reproducible: Always
Summary: Bugizlla Header shown twice if I try to add user without specifying the password → Bugzilla Header shown twice if I try to add user without specifying the password
| Assignee | ||
Comment 1•20 years ago
|
||
I cannot reproduce on current tip. Which version are you using?
Comment 3•20 years ago
|
||
I can reproduce this in 2.19.2 also.
Comment 4•20 years ago
|
||
This has been fixed on the trunk by bug 119485. I can reproduce on the 2.18 branch. Looks like a $vars->{'header_done'} or equivalent is not set correctly. Marc, are you interested in fixing this bug? It should be trivial.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Whiteboard: [does not affect 2.19.3+]
Target Milestone: --- → Bugzilla 2.18
| Assignee | ||
Comment 5•20 years ago
|
||
Removing dead code from callsites, too.
Comment 6•20 years ago
|
||
Comment on attachment 186901 [details] [diff] [review] Branch patch > if (length($password) < 3) { >- ThrowUserError("password_too_short"); >+ ThrowUserError("password_too_short", $main::vars); > } elsif (length($password) > 16) { >- ThrowUserError("password_too_long"); >+ ThrowUserError("password_too_long", $main::vars); > } elsif ((defined $matchpassword) && ($password ne $matchpassword)) { >- ThrowUserError("passwords_dont_match"); >+ ThrowUserError("passwords_dont_match", $main::vars); Please replace $main::vars by $::vars and carry forward my r+. For the record, this "hack" is necessary and specific to 2.18 as editusers.cgi has not been templatized yet.
Attachment #186901 -
Flags: review? → review+
| Assignee | ||
Comment 7•20 years ago
|
||
Using $::vars instead of $main::vars. Moving r+ forward.
Attachment #186901 -
Attachment is obsolete: true
Attachment #186916 -
Flags: review+
| Assignee | ||
Updated•20 years ago
|
Flags: blocking2.18.2?
| Assignee | ||
Updated•20 years ago
|
Flags: blocking2.18.2? → approval2.18?
Updated•20 years ago
|
Flags: approval2.18? → approval2.18+
Whiteboard: [does not affect 2.19.3+] → [ready for 2.18.3] [does not affect 2.19.3+]
Comment 8•20 years ago
|
||
Checking in editusers.cgi; /cvsroot/mozilla/webtools/bugzilla/editusers.cgi,v <-- editusers.cgi new revision: 1.61.2.7; previous revision: 1.61.2.6 done Checking in globals.pl; /cvsroot/mozilla/webtools/bugzilla/globals.pl,v <-- globals.pl new revision: 1.270.2.11; previous revision: 1.270.2.10 done Checking in token.cgi; /cvsroot/mozilla/webtools/bugzilla/token.cgi,v <-- token.cgi new revision: 1.26.2.1; previous revision: 1.26 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: [ready for 2.18.3] [does not affect 2.19.3+] → [ready for 2.18.2] [does not affect 2.19.3+]
You need to log in
before you can comment on or make changes to this bug.
Description
•