Closed
Bug 469095
Opened 16 years ago
Closed 16 years ago
Error Notice: this variable may not be empty: $_POST["username"] when clicking "Switch" button
Categories
(support.mozilla.org :: General, defect)
support.mozilla.org
General
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 463719
0.8.2
People
(Reporter: stephend, Unassigned)
References
()
Details
Steps to Reproduce: 1. Ensure you're logged out. 2. Load https://support-stage.mozilla.org/tiki-login_scr.php 3. Log in 4. Click Firefox's "Back" button 5. Press the "Switch" button without entering anything Expected Results: Actual Results: "Error Notice: this variable may not be empty: $_POST["username"]" Seems bad...(at least remove the notice!) (I think this bug might occur because of the way Firefox implements its BFCache (back-forward cache, which doesn't resubmit POSTs, iirc).
Reporter | ||
Comment 1•16 years ago
|
||
FWIW, I'm not presented with the user-switching UI on prod, so don't know if the UI that includes the "Switch" button in comment 5 is intended or not; assuming so?
Comment 2•16 years ago
|
||
IIRC, the switch feature only appears for admins.
Reporter | ||
Updated•16 years ago
|
Target Milestone: --- → 0.8
Comment 3•16 years ago
|
||
FYI, this message is produced by a function built into tiki-setup_base.php. It's just a variable check that makes sure certain params aren't empty (obviously ;). I agree that the generic message makes it sound like the sky has fallen instead of a field just being empty. I'm also under the impression only admins can access the switch feature.
Reporter | ||
Updated•16 years ago
|
Severity: major → minor
Updated•16 years ago
|
Target Milestone: 0.8 → 0.9
Comment 4•16 years ago
|
||
Resolved as part of the fix for https://bugzilla.mozilla.org/show_bug.cgi?id=463719
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Target Milestone: 0.9 → 0.8.2
You need to log in
before you can comment on or make changes to this bug.
Description
•