Closed
Bug 481946
Opened 15 years ago
Closed 15 years ago
Vague error message on empty Switch input on log in page
Categories
(support.mozilla.org :: General, defect)
support.mozilla.org
General
Tracking
(Not tracked)
VERIFIED
FIXED
1.0
People
(Reporter: paulc, Assigned: paulc)
References
()
Details
(Keywords: ue, Whiteboard: tiki_string, tiki_upstreamed)
Attachments
(1 file)
648 bytes,
patch
|
Details | Diff | Splinter Review |
Steps: 1. While logged in to support.mozilla.com go to https://support-stage.mozilla.org/tiki-login_scr.php 2. Press "Switch" without entering any username. Actual results: Error -- An unexpected error has occurred! Expected results: A more specific error message such as "Please make sure to enter a username. Use the browser's Back button and try again"
Assignee | ||
Comment 1•15 years ago
|
||
Chris, is my text suggestion okay?
Comment 2•15 years ago
|
||
The Switch feature is only available to admins. The text is fine. I would rather we just get rid the Switch feature from the login page.
Assignee | ||
Comment 3•15 years ago
|
||
It's nice for testing multiple accounts though, I think.
Comment 4•15 years ago
|
||
I believe that error is thrown from tiki-setup_base.php when it does type checking (sometime after ~300).
Comment 5•15 years ago
|
||
Paul, make sure the ending period is inside the string, since it's not being used in Japanese (see bug 433319). Stephen, can we get some English perfection skills? :)
Comment 6•15 years ago
|
||
"Please be sure to enter a username before clicking 'Switch'; below, click 'Go back' to retry." -- how's that sound? (Don't know about that whole "English perfection skills thing, TBH :-P)
Assignee | ||
Comment 7•15 years ago
|
||
David: will do. Stephen: I think that sounds good!
Comment 8•15 years ago
|
||
I think it sounds a little too formal with that semi-colon. I know that it's most probably 100% correct but just looks a bit too much to me. :) Can we simplify a little? How about this (Stephen, feel free to object since Swedish is my main language): Please make sure you enter a username before clicking "Switch". Click "Go back" to try again.
Assignee | ||
Comment 9•15 years ago
|
||
Unfortunately the fix seems to involve the function varcheck(&$array, $category) defined in tiki-setup_base.php on line 313. I attached the patch that would work, but the setup throws the error before I can do anything in tiki-login. Fixing varcheck seems like something unnecessary. I say we just WONTFIX this...
Comment 10•15 years ago
|
||
WONTFIX per comment 9. Thanks Paul.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Updated•15 years ago
|
Target Milestone: 1.1 → 1.0
Assignee | ||
Comment 11•15 years ago
|
||
r23860 / r23861 Got the idea while fixing bug 480428 :)
Resolution: WONTFIX → FIXED
Assignee | ||
Comment 12•15 years ago
|
||
Ooops, make that r23861 / r23862
I now get "Error Username field cannot be empty. Please go back and try again." when I click the "Switch" button without specifying a username. Verified FIXED on https://support-stage.mozilla.org/tiki-login.php
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Whiteboard: tiki_string
Updated•15 years ago
|
Whiteboard: tiki_string → tiki_string, tiki_upstreamed
You need to log in
before you can comment on or make changes to this bug.
Description
•