Closed Bug 1265934 Opened 5 years ago Closed 5 years ago

Android: Username is overwritten with a blank one when updating the password for a Twitter account


(Toolkit :: Password Manager, defect, P1)




Tracking Status
firefox45 --- unaffected
firefox46 --- unaffected
firefox47 --- unaffected
firefox48 --- unaffected
firefox-esr45 --- unaffected


(Reporter: MattN, Assigned: timdream, Mentored)



(Keywords: regression)

We fixed the below for desktop in bug 1243729 but the fork for Android at wasn't fixed.

+++ This bug was initially created as a clone of Bug #1243729 +++

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160127030236

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160123151951

Have at least 2 logins saved for Twitter in browser.

Steps to Reproduce:
1. Login to Twitter with one of the saved accounts.
2. Go to Twitter->Settings->Password screen.
3. Enter the current password and the new one.
4. Click on "Save changes" button.
5. Select from `Confirm Password Change` window the username for which the password has been changed.
6. Click on "OK" button.
7. Open a new tab and go to about:preferences#security, click on "Saved Logins..." button.
8. Observe the username for which the password has been changed.

Expected results:
The username is displayed and only the password is updated.

Actual results:
The username is blank.

This issue is reproducible also on Windows 10, Mac OS X 10.11.

Tim, can you make the same change as attachment 8740261 [details] [diff] [review] but for mobile?
Flags: qe-verify+
Flags: needinfo?(lhenry)
Margaret, making sure you see this. We can still land a fix for this in fennec beta 13.
Flags: needinfo?(margaret.leibovic)
Kevin can you test this before we uplift once Tim lands a fix?  We are a little bit rushed (hoping to land this on m-b tonight or early tomorrow morning)
Flags: needinfo?(kbrosnan)
Is this bug still repro on Fennec? I am seeing `this._updateLogin(selectedLogin, aNewLogin.password);` here; `_updateLogin()` does not take `aNewLogin` as a whole as the argument.
Flags: needinfo?(MattN+bmo)
Good point, I guess bug 1016051 didn't get fixed for Android so this bug isn't present. Sorry about that. We can file a separate bug to port bug 1016051 to Android.
Closed: 5 years ago
Flags: needinfo?(margaret.leibovic)
Flags: needinfo?(kbrosnan)
Flags: needinfo?(MattN+bmo)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.