Closed Bug 790644 Opened 12 years ago Closed 10 years ago

Reloading bugzilla automatically shows the login form in the header, like user clicked on 'Log In'

Categories

(Bugzilla :: User Interface, defect)

4.0.8
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: aryx, Assigned: LpSolit)

References

Details

(Whiteboard: [blocker will fix])

Visiting https://bugzilla.mozilla.org/ for the first time (without bugzilla.mozilla.org cookies) won't show the BrowserID 'Sign in' button, reloading the page fixes this.

Tested with:
Firefox 15.0.1, Windows XP SP3 32 bit
Firefox Mobile trunk nightly 20120912, Android 4.1.1
works for me.

i've seen a lot of weirdness in recent firefox nightlies to do with loading resources (css, js), so that's what i suspect is going on.

can you retest using another browser?
This works as expected with IE 8, latest stable Opera & Chrome.

It seems like reloading the page in Firefox (15.0.1 is a stable version) automatically shows the content you get after clicking the 'log in' link in the header (so the page looks like expected on first load, but not on second).
i'm unable to reproduce using firefox 15.

when bugzilla is first loaded, the persona sign-in button is visible after i click on 'log in' in the header.

it's weird that refreshing the page results in the log in form being visible, but that issue is unrelated to persona.
Component: Extensions: BrowserID → General
Summary: BrowserID/Persona 'Sign in' button not shown to first time visitors → Reloading https://bugzilla.mozilla.org/ automatically shows the BrowserID/Persona 'Sign in' button like user clicked on 'Log In'
Assignee: nobody → ui
Component: General → User Interface
Product: bugzilla.mozilla.org → Bugzilla
QA Contact: default-qa
Summary: Reloading https://bugzilla.mozilla.org/ automatically shows the BrowserID/Persona 'Sign in' button like user clicked on 'Log In' → Reloading bugzilla automatically shows the login form in the header, like user clicked on 'Log In'
Version: Production → 4.0.8
Severity: normal → minor
this issue is caused by bugzilla's placeholder-like javascript.  because bugzilla places real values into those fields, the field contents are retained when the page is refreshed.  bugzilla's javascript incorrectly detects this a pre-filled username/passwords and displays the login form.

switching to real placeholders (bug 888731) fixes this issue.
Depends on: 888731
Whiteboard: [blocker will fix]
This is now fixed (requires Bugzilla 4.5.2 or newer).
Assignee: ui → LpSolit
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 5.0
You need to log in before you can comment on or make changes to this bug.