Closed
Bug 936471
Opened 11 years ago
Closed 11 years ago
Payments fail on Inari 1.3 with TypeError: iccProvider.iccInfo is undefined
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox28 | --- | fixed |
People
(Reporter: Bebe, Assigned: allstars.chh)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
Flash inari with mozilla-central (1.3) build
Gaia: 42bbe26a72e030faf07a6fc297f61a3a8ccda25b
Gecko: http://hg.mozilla.org/mozilla-central/rev/70de5e24d79b
BuildID 20131107040200
Version 28.0a1
Login and try to buy a payed app:
The Bango screen opens and it is blank:
http://imageshack.com/a/img194/8820/owtj.png
In the logcat we can see:
https://pastebin.mozilla.org/3455005
E/GeckoConsole( 1279): [JavaScript Error: "TypeError: iccProvider.iccInfo is undefined" {file: "chrome://browser/content/payment.js" line: 195}]
E/GeckoConsole( 1279): [JavaScript Warning: "Unknown property 'box-sizing'. Declaration dropped." {file: "https://marketplace.allizom.org/mozpay/?req=eyJhbGciOiAiSFMyNTYiLCAidHlwIjogIkpXVCJ9.eyJh
Updated•11 years ago
|
Component: Payments/Refunds → DOM: Device Interfaces
Product: Marketplace → Core
Version: Avenir → Trunk
Comment 1•11 years ago
|
||
ferjm, any ideas on what might have changed here?
Comment 2•11 years ago
|
||
(In reply to Kumar McMillan [:kumar] from comment #1)
> ferjm, any ideas on what might have changed here?
I'm pretty sure this is likely a regression from the DSDS features landing. Let me hunt around for what caused this.
Updated•11 years ago
|
blocking-b2g: --- → 1.3?
Keywords: regression
Comment 3•11 years ago
|
||
Might have been caused by bug 930394.
Assignee | ||
Comment 4•11 years ago
|
||
Hi,
Can you provide more detail STR ?
And what's Bango?
Also why did Jason say this is caused by Bug 930394?
Or what you met is actually Bug 933524?
Thanks
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(florin.strugariu)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(jsmith)
Comment 5•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #4)
> Hi,
> Can you provide more detail STR ?
The STR involved here is buying a paid app using the payments API with marketplace as the payment provider.
Bebe - Can you include the Gaia UI Test that triggers this workflow?
> And what's Bango?
That's the payment processor marketplace uses to process payments when buying an app.
>
> Also why did Jason say this is caused by Bug 930394?
The regression involved here has to be due to a change in the iccProvider's API likely that we didn't update in the payments API. Originally thought the regression range pointed to that bug, but I think I need to double check with Bebe to understand the regression range.
Bebe - Can you clarify regression range here?
>
> Or what you met is actually Bug 933524?
Don't know. We need a regression range to confirm this.
Reporter | ||
Comment 6•11 years ago
|
||
Bebe - Can you include the Gaia UI Test that triggers this workflow?
https://github.com/mozilla/marketplace-tests-gaia/blob/master/marketplacetests/tests/test_marketplace_purchase_app_on_dev_with_mocked_bango.py
Flags: needinfo?(florin.strugariu)
Reporter | ||
Comment 7•11 years ago
|
||
I tested this on unagi 1.3 too and got the same issue.
I will try to get a regression range for this but what I can say now 1.2 has the same issue so it might be a old issue
Assignee | ||
Comment 8•11 years ago
|
||
Thanks for the info, Bebe and Jason.
I'll try to run the script in Comment 6 to see if I can reproduce it.
Thanks
Assignee | ||
Comment 9•11 years ago
|
||
Sorry, I am not sure how to run the test correctly,
paste the error here. http://pastebin.com/G0Mk0TZW
Can you help to check what went wrong here?
Comment 10•11 years ago
|
||
Zac - Can you help give input to Yoshi in comment 9 on what's not working?
Flags: needinfo?(zcampbell)
Comment 11•11 years ago
|
||
Hey Yoshi, it looks like you have not installed marionette client.
"pip install marionette_client" will do it.
btw if you need help more local to you then Askeing and Walter can help you out.
Flags: needinfo?(zcampbell)
Assignee | ||
Comment 12•11 years ago
|
||
Thanks, Jason and Zac.
I'll try again.
Comment 13•11 years ago
|
||
It's interesting that market-place test branched out
https://github.com/mozilla/marketplace-tests-gaia
It seems like old gaia-ui-tests structure. I don't know what was missed.
In that case, I force it to install most up-to-date gaia-ui-tests and switch to install marketplace-tests-gaia again, and it works now.
However, does anyone know about this?
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Florin Strugariu [:Bebe] from comment #0)
> Flash inari with mozilla-central (1.3) build
> Gaia: 42bbe26a72e030faf07a6fc297f61a3a8ccda25b
> Gecko: http://hg.mozilla.org/mozilla-central/rev/70de5e24d79b
> BuildID 20131107040200
> Version 28.0a1
>
> E/GeckoConsole( 1279): [JavaScript Error: "TypeError: iccProvider.iccInfo is
> undefined" {file: "chrome://browser/content/payment.js" line: 195}]
I think it's a regression from Bug 926343, which changes the interface for nsIIccProvider.
Assignee | ||
Comment 15•11 years ago
|
||
Assignee: nobody → allstars.chh
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Attachment #832729 -
Flags: review?(fabrice)
Updated•11 years ago
|
Keywords: regressionwindow-wanted
Comment 16•11 years ago
|
||
Comment on attachment 832729 [details] [diff] [review]
Patch
Review of attachment 832729 [details] [diff] [review]:
-----------------------------------------------------------------
I think the initial ideas was to return an array with all the sim information available, not just the first one when several sims are available.
Fernando, is that correct?
Attachment #832729 -
Flags: review?(fabrice) → review-
Updated•11 years ago
|
Flags: needinfo?(ferjmoreno)
Comment 17•11 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #16)
> Comment on attachment 832729 [details] [diff] [review]
> Patch
>
> Review of attachment 832729 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I think the initial ideas was to return an array with all the sim
> information available, not just the first one when several sims are
> available.
> Fernando, is that correct?
We should return the information of the active SIM. Returning an array was not correct as it was a wrong assumption done before the DSDS design.
Yoshi, you filed bug 938993 which seems to be the same as this one. Can I close that one as a dup?
Flags: needinfo?(ferjmoreno)
Comment 18•11 years ago
|
||
(In reply to Kumar McMillan [:kumar] from comment #1)
> ferjm, any ideas on what might have changed here?
Use needinfo instead of CC please :)
Assignee | ||
Comment 19•11 years ago
|
||
(In reply to Fernando Jiménez Moreno [:ferjm] (use needinfo instead of CC, please) from comment #17)
> >
> > I think the initial ideas was to return an array with all the sim
> > information available, not just the first one when several sims are
> > available.
> > Fernando, is that correct?
>
> We should return the information of the active SIM. Returning an array was
> not correct as it was a wrong assumption done before the DSDS design.
>
> Yoshi, you filed bug 938993 which seems to be the same as this one. Can I
> close that one as a dup?
Hi Fernando
Currently DSDS is still ongoing, and 'active SIM' feature is, too, Bug 936325.
Also DSDS is not stable yet.
So I file Bug 938993 to track the Multi-SIM for payments, and fix that until DSDS feature in more stable, also we can test that.
(Right now RIL team is still struggling on the device porting.)
I'd suggest we could fix the regression first, so RIL won't block Marketplace team.
Even if I fix the multi-SIM case here, I worry we might not have a device or some way to test.
What do you think??
Flags: needinfo?(ferjmoreno)
Comment 20•11 years ago
|
||
Ok, fixing the regression first works for me. Thanks Yoshi!
Flags: needinfo?(ferjmoreno)
Assignee | ||
Comment 21•11 years ago
|
||
Thanks, Fernando.
Hi Fabrice,
Do you think we could move the payments for multi-SIM to Bug 938993? And fix the regression first?
Or if you still think we should do something for multi-SIM in this bug,
I will discuss this with Fernando again, or let Fernando to take this bug to continue,
since I've already found out the regression, but not familiar with payments for multi-SIM, (we already have a lot of discussions for Multi-SIM in RIL team now).
Thanks
Comment 22•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #21)
> Thanks, Fernando.
>
> Hi Fabrice,
> Do you think we could move the payments for multi-SIM to Bug 938993? And fix
> the regression first?
From the QA perspective - I'd prefer that we would get the regression fixed first, so that we could our payments automation back online. I'd take care of multi-SIM support in a separate bug.
Comment 23•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #22)
> (In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #21)
> > Thanks, Fernando.
> >
> > Hi Fabrice,
> > Do you think we could move the payments for multi-SIM to Bug 938993? And fix
> > the regression first?
>
> From the QA perspective - I'd prefer that we would get the regression fixed
> first, so that we could our payments automation back online. I'd take care
> of multi-SIM support in a separate bug.
That's fine for me too.
Assignee | ||
Comment 24•11 years ago
|
||
Comment on attachment 832729 [details] [diff] [review]
Patch
Request for review again for Fabrice and Fernando both agree to move the multi-SIM to another bug, and fix the regression in this bug.
Attachment #832729 -
Flags: review- → review?(fabrice)
Comment 25•11 years ago
|
||
Comment on attachment 832729 [details] [diff] [review]
Patch
Review of attachment 832729 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks Yoshi!
Attachment #832729 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 26•11 years ago
|
||
Update patch title and add r=fabrice.
Thanks
Attachment #832729 -
Attachment is obsolete: true
Attachment #8334313 -
Flags: review+
Assignee | ||
Comment 27•11 years ago
|
||
try https://tbpl.mozilla.org/?tree=Try&rev=ad0dd22941e4
When it's all green I'll push the patch.
Thanks
Assignee | ||
Comment 28•11 years ago
|
||
Comment 29•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•11 years ago
|
status-firefox28:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•