Closed Bug 1036087 Opened 10 years ago Closed 10 years ago

Movistar Operator shelf icon missing in the categories dropdown list

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P3)

Other
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: krupa.mozbugs, Assigned: delza)

References

Details

Attachments

(2 files)

Attached image photo(166).JPG
Firefox gaia 1.3/hamachi Movistar Spain SIM steps to reproduce: 1. Install the Marketplace pure (packaged) app from Stage 2. Launch the app 3. Click on the Categories dropdown 4. Notice the Movistar Recomienda operator shelf expected behavior: Movistar Recomienda operator shelf has an icon actual behavior: Movistar Recomienda operator shelf is missing its icon. The icon is present in prod (iframe) packaged app and in desktop. ashes: 5b255
I bet the MCC/MNC detection logic in yulelog doesn't match the code in the mobilenetwork part of fireplace.
Priority: -- → P3
Assignee: nobody → delza
Since this blocks our becoming a packaged app, and currently region/carrier detection doesn't work inside the packaged app (worked fine in yulelog), seems like this ought to be higher than a P3.
Krupa: I can't reproduce this on my flame, using :debug to set the MNC/MCC to Spain/Telefonica. I see the movistar icon. Can you reproduce this? Is it a specific MNC/MCC you have set or is it a 1.3 thing specifically?
Flags: needinfo?(krupa.mozbugs)
I can still reproduce this issue with an actual Movistar Spain. I can check if this happens on Flame as well and report back.
Flags: needinfo?(krupa.mozbugs)
If you could tell us the actual MNC/MCC or how to set it in :debug that would help too. It's probably just an MNC that isn't associated with the right thing
Attached image screenshot
I can reproduce this issue on Flame with packaged dev app 07-16 12:40:35.665 E/GeckoConsole( 1335): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:427 in l/s/<: [req] GETing https://marketplace-dev.allizom.org/api/v1/fireplace/consumer-info/?carrier=telefonica&dev=firefoxos&device=firefoxos&lang=en-US&limit=10&region=es 07-16 12:40:35.665 E/GeckoConsole( 1335): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:427 in l/s/<: [mobilenetwork][undefined][detectMobileNetwork] navigator.mozMobileConnections available 07-16 12:40:35.665 E/GeckoConsole( 1335): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:427 in l/s/<: [mobilenetwork][undefined][detectMobileNetwork] navigator.mozMobileConnections[0].lastKnownNetwork: 310-410 07-16 12:40:35.665 E/GeckoConsole( 1335): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:427 in l/s/<: [mobilenetwork][undefined][detectMobileNetwork] navigator.mozMobileConnections[0].lastKnownHomeNetwork: 07-16 12:40:35.665 E/GeckoConsole( 1335): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:427 in l/s/<: [mobilenetwork][undefined][detectMobileNetwork] navigator.mozMobileConnections[1].lastKnownNetwork: 07-16 12:40:35.665 E/GeckoConsole( 1335): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:427 in l/s/<: [mobilenetwork][undefined][detectMobileNetwork] navigator.mozMobileConnections[1].lastKnownHomeNetwork: 07-16 12:40:35.665 E/GeckoConsole( 1335): Content JS LOG at app://packaged.marketplace-dev.allizom.org/media/js/include.js:427 in l/s/<: [mobilenetwork][undefined][detectMobileNetwork] Using SIM MCCs: [{"mcc":"214","mnc":"07"},{"mcc":"","mnc":""}]
[:krupa] can you still reproduce this with recent builds? I have tried hard-coding the values you see into the SIM-detection code, but am still unable to reproduce. I'm having other problems loading the app in packaged mode, but I'm pretty sure that is unrelated.
Never mind, I can reproduce now, digging deeper.
OK, I can reliably reproduce this on package_dev, but (when I over-ride to simulate the SIM) not on package_stage. For package_dev the problem appears to be a lack of CORS support (Ajax call is not being made, failing silently with code 0). So now I'm curious. Is it only failing with the Spain/Telefonica settings, or is does it fail with any SIM? Because I haven't found anything that looks specific to Spain/Telefonica.
Flags: needinfo?(krupa.mozbugs)
I tried with T-mobile Poland SIM and the operator shelf icon shows up on my Flame 2.1
Flags: needinfo?(krupa.mozbugs)
The only difference I can find between packaged dev and packaged stage is that dev was not loading data from the server because of CORS issues. Strangely enough, when I cleared the offline cache on stage, both stage and dev were able to load the data and show the operator shelf. Maybe I thought I was in the stage app when I was in the dev app, that's a possibility. In any case, I can't see anything that would prevent from opening the operator shelf using one SIM but not another. The only other difference I can see is the URL that is being hit. dev: marketplace-dev.mozflare.net stage: marketplace-stage.cdn.mozilla.net And those could be changing as things are deployed and reset. If the problem persists, re-open and I can try again.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: