Closed Bug 561406 Opened 16 years ago Closed 16 years ago

Reset Secret Phrase doesn't show reset UI

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: tchung, Assigned: mconnor)

Details

(Whiteboard: [weave1.3b1])

Attachments

(2 files, 1 obsolete file)

I am unable to change or update the secret phrase. At the update secret phrase window, it just returns an error saying "Secret phrase incorrect, please try again." * See screenshot Repro: 1) install weave 1.3b1 2) enter in an existing weave user/pass 3) at secret phrase window, type in an invalid phrase 4) The Wrong Phrase error appears with a link to "Change Secret Phrase". click it. 5) The change secret phrase drops down. Create a new 12-character secret phrase 6) Click Update Secret Phrase 7) Verify error says "Secret phrase is incorrect, please try again." Expected: - new secret phrase within the guidelines is updated Actual: - secret phrase creation error fails. Blocks you from updating it.
Flags: blocking-weave1.3?
Whiteboard: weave1.3b1
Argh, the reset link should show different UI, but only lets you enter the changed password. Update should let you enter the changed password.
Assignee: nobody → mconnor
Flags: blocking-weave1.3? → blocking-weave1.3+
Summary: Updating secret phrase returns Incorrect error → Reset Secret Phrase doesn't show reset UI
Whiteboard: weave1.3b1 → weave1.3b1 [b2]
Attachment #441653 - Flags: review?(edilee)
Attachment #441653 - Flags: review?(edilee) → review-
Comment on attachment 441653 [details] [diff] [review] implement separate behaviours for update and reset >+++ b/source/chrome/content/preferences/fx-prefs.js >- changePassphrase: function () { >- Weave.Utils.openGenericDialog("ChangePassphrase"); >+ changePassphrase: function (doReset) { >+ if (doReset) >+ Weave.Utils.openGenericDialog("ResetPassphrase"); >+ else >+ Weave.Utils.openGenericDialog("UpdatePassphrase"); fx-setup.js still opens as ChangePassphrase, so the "Change Secret Phrase" link doesn't really work. Also, this function should just be split into two instead of needing to remember if it's true or false to trigger the which one. Also, for the original filed bug, when resetting the secret phrase on login of a second computer, it'll eventually drop back to the secret phrase page and will require the just-entered secret phrase again before continuing.
Attached patch v2Splinter Review
Also fixes the issue raised on review with the reset PP interaction, not really part of this bug, but meh.
Attachment #441653 - Attachment is obsolete: true
Attachment #441682 - Flags: review?(edilee)
Attachment #441682 - Flags: review?(edilee) → review+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.3b2
verified the correct dialog appears with 1.3b2 filed bug 562030 for alerts not appearing on invalid phrases.
Status: RESOLVED → VERIFIED
Whiteboard: weave1.3b1 [b2] → [weave1.3b1]
Component: Firefox Sync: UI → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: