Closed Bug 916059 Opened 11 years ago Closed 11 years ago

[FDN] broken workflow when a wrong PIN2 code is used

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

x86_64
Linux
defect
Not set
critical

Tracking

(blocking-b2g:koi+, b2g-v1.2 fixed)

RESOLVED FIXED
1.2 C3(Oct25)
blocking-b2g koi+
Tracking Status
b2g-v1.2 --- fixed

People

(Reporter: kaze, Assigned: kaze)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
arthurcc
: review+
Details | Review
STR:
 • Settings > Call Settings > Fixed dialing numbers
 • make sure FDN is enabled
 • Authorized numbers
 • add a new FDN contact, tap [OK]
 • enter a wrong PIN2

Expected:
 • be prompted to enter a wrong PIN2 again

Actual:
 • UI gets back to the FDN contact list
Assignee: nobody → kaze
Depends on: 888912
blocking-b2g: --- → koi+
Hi Joe,

Could you add keyword in whiteboard for your team to track on this?
Flags: needinfo?(jcheng)
Any updates on where this is at, and when it will be complete? This blocks QC CS (which we're trying to pull in as much as possible), but hasn't had comment from you in a month.
Flags: needinfo?(kaze)
Severity: normal → critical
Target Milestone: --- → 1.2 C3(Oct25)
Michal, is this bug something you can look into? Thanks
Flags: needinfo?(jcheng) → needinfo?(mbudzynski)
Joe, this bug seem to have zero traction at the moment.  Please help get this bug moving.
Flags: needinfo?(jcheng)
I'm running workshop for partners till the end of next week, but :kaze is back form his PTO.
Flags: needinfo?(mbudzynski)
Finishing the Gaia part atm. I’ve filed bug 936309 and bug 936334 for the Gecko part.
Flags: needinfo?(kaze)
Depends on: 936309, 936334
Flags: needinfo?(jcheng)
Attached file link to pull request
Attachment #830829 - Flags: review?(arthur.chen)
Comment on attachment 830829 [details] [review]
link to pull request

Just found some new issues — clearing the review flag until I fix them.
Attachment #830829 - Flags: review?(arthur.chen)
Comment on attachment 830829 [details] [review]
link to pull request

Should be OK now.
Attachment #830829 - Flags: review?(arthur.chen)
Comment on attachment 830829 [details] [review]
link to pull request

Please check my comments in github, thanks!
Attachment #830829 - Flags: review?(arthur.chen)
Comment on attachment 830829 [details] [review]
link to pull request

Comments addressed.
Attachment #830829 - Flags: review?(arthur.chen)
Comment on attachment 830829 [details] [review]
link to pull request

r=me with one nit addressed. Thanks!
Attachment #830829 - Flags: review?(arthur.chen) → review+
Hi Fabien,

This patch will make user unable to change SIM PIN in Settings. 
Steps:
1. Settings -> SIM security -> change PIN
Expected:
  Display SIM PIN change dialog
Actual: 
  Stay at SIM security page

From logcat:
E/GeckoConsole( 2529): [JavaScript Error: "TypeError: options is undefined" {file: "app://settings.gaiamobile.org/js/simcard_dialog.js" line: 410}]

I guess this is because of the signature change of SimPinDialog.show() (see https://github.com/mozilla-b2g/gaia/commit/d12bf7adc72f52196927d0f3babb6fa93fffc585#diff-a888a0705d0739307eaed9b0bef204bdR398), and all the invocations of show() at apps/settings/js/simcard_lock.js did not aware of this change.

One example, at https://github.com/mozilla-b2g/gaia/blob/master/apps/settings/js/simcard_lock.js#L91, the call to show() did not provide second argument. Thus, when SimPinDialog.show tries to access 'options', the only thing it can get is undefined. That's why line 410 failed.

This patch is quite new, so I think it would be better to notify you here instead of open new bug.

Thanks
Flags: needinfo?(kaze)
Filed bug 940162 for it, clear flag
Flags: needinfo?(kaze)
Depends on: 940654
No longer blocks: 940162
Depends on: 940162
Depends on: 940574
Note - there's quite a lot of fallout being seen with this patch. Are we sure we shouldn't back this out & retry landing this with necessary fixes?
Kaze,

This patch is causing at least 2 blocker regressions. Given where we are with the release, I'd like to see what it would take to back out this bug.
Flags: needinfo?(kaze)
Preeti, these regression should be described and fixed by bug 940162 (which has already been uplifted to 1.2).

If there are other regressions that aren’t fixed by this patch, please let me know (bug#?) and I’ll back-out these two patches (916059 + 940162).
Flags: needinfo?(kaze)
No longer depends on: 940654
No longer depends on: 940574
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: