Closed Bug 705767 Opened 13 years ago Closed 13 years ago

Validate credentials before completing setup

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P1)

ARM
Android
defect

Tracking

(firefox16 verified, blocking-fennec1.0 -)

VERIFIED FIXED
mozilla16
Tracking Status
firefox16 --- verified
blocking-fennec1.0 --- -

People

(Reporter: rnewman, Assigned: liuche)

References

()

Details

(Whiteboard: [sync][qa!])

Attachments

(1 file)

Filing here until we get a component.
Blocks: 695463
Component: General → Android Sync
QA Contact: general → android-sync
Summary: Native Sync: validate credentials before completing setup → Validate credentials before completing setup
Blocks: 709341
I expect most setup processes to be via J-PAKE, so this isn't an immediate concern.
OS: All → Android
Blocks: 717082
tracking-fennec: --- → ?
tracking-fennec: ? → 11+
Is this implying the state of "Connect" button also? Meaning that it should be disabled if, for example the email address is not in a valid email address format, or if the sync key has less characters than a valid sync key, or one of the fields is not empty.
In the current m-c build, the connect button should not be enabled if any of the fields is empty - please reopen bug 711868 with the device you are using if this is the case (if relevant). This does bug does not include validation checks for email and sync-key size (AFAIK actually, XUL fennec sync did not validate email addresses).
This bug is about "live" validation -- that is, before you complete setup, make some network request and do some work to make sure that the credentials you've entered will be able to sync. That's a superset of syntactic validation.
Assignee: nobody → liuche
Priority: -- → P2
Blocks: 709393
Depends on: 725912
blocking-fennec1.0: --- → +
Status: NEW → ASSIGNED
Whiteboard: [sync]
If it's a blocker, it's a P1.
Priority: P2 → P1
Pull request in github awaiting review and feedback.
re-nomming as this should be a beta blocker or not a blocker at all, and closing the related string bug, as l10n says no strings without features.
blocking-fennec1.0: + → ?
blocking-fennec1.0: ? → -
Github pull request: https://github.com/mozilla-services/android-sync/pull/143 Not blocking Fennec, so won't be landing anytime soon.
Hardware: All → ARM
Whiteboard: [sync] → [sync][patch waiting]
Whiteboard: [sync][patch waiting] → [sync][patch waiting][qa^]
Blocks: 754784
Whiteboard: [sync][patch waiting][qa^] → [sync][please land on nightly][qa^]
Needs a fix. Back to Chenxia.
Whiteboard: [sync][please land on nightly][qa^] → [sync][qa^]
depends loosely on patch from bug 717707.
Attachment #630323 - Flags: feedback?
Depends on: 717707
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e508c1d3d6d STR: - Launch Sync setup. Click "Advanced Setup" to launch manual credential entry. - Type in credentials. - Manually sleep the device (or wait for powersave). Expected: Username and Sync Key are not cleared; password field will be cleared.
Whoops, wrong bug STR and inbound link. https://hg.mozilla.org/integration/mozilla-inbound/rev/5685dcf1f147 STR: 1. Launch Sync setup, click on "Advanced Setup" to go to manual credential entry. 2. Enter username, password, sync key. 3. When all three fields are non-empty, "Connect" should become clickable. 4. If either username or password is incorrect, verification should fail. Notes: - Please test w/ non-email-form usernames as well (from early sync accounts), because these should also work.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Comment on attachment 630323 [details] [diff] [review] Validate credentials patch Not a blocker, and code already landed. Clearing flag.
Attachment #630323 - Flags: feedback?
verified with latest nightly
Status: RESOLVED → VERIFIED
Whiteboard: [sync][qa^] → [sync][qa!]
This was minused blocking fennec1.0 back in April. Lingering tracking 11+ flag has caused some confusion. So I am removing that flag and marking status-firefox16 verified as that was the eventual target milestone. Then was fixed and verified in m-c at that time.
tracking-fennec: 11+ → ---
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: