Closed
Bug 1178423
Opened 10 years ago
Closed 10 years ago
Marketplace shows no results for existing apps
Categories
(Marketplace Graveyard :: General, defect, P1)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1177847
People
(Reporter: gaby2300, Assigned: mat)
References
Details
(Keywords: foxfood, Whiteboard: [bzlite])
Attachments
(4 files)
User-Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
1. Open marketplace
2. Search for an existing app, eg Chocolate Jewels or SocialNotify.
3. Notice no results are found.
4. The apps cannot be installed.
Expected: the apps should be found and able to install.
Actual: no apps found, no apps installed
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Reporter | ||
Comment 3•10 years ago
|
||
Reporter | ||
Comment 4•10 years ago
|
||
Updated•10 years ago
|
QA Whiteboard: [foxfood-triage]
Component: Gaia::Feedback → General
Product: Firefox OS → Marketplace
Version: unspecified → 2014-Q4
Comment 5•10 years ago
|
||
08-04 18:52:02.581 I/Marketplace( 1745): Content JS LOG: [req] GETing https://marketplace.firefox.com/api/v2/fireplace/multi-search/?cache=1&dev=firefoxos&doc_type=all&lang=en-US&limit=10&pro=1ffffffffffffe.53.8&q=®ion=us&vary=0
08-04 18:52:02.581 I/Marketplace( 1745): at u/< (https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1436293462188:4:15662)
08-04 18:52:02.591 I/Marketplace( 1745): Content JS LOG: [navigation] Navigation loop truncated:
08-04 18:52:02.591 I/Marketplace( 1745): at u/< (https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1436293462188:4:15662)
08-04 18:52:02.591 I/Marketplace( 1745): Content JS LOG: [navigation] Pushed state onto stack: /search?q=
08-04 18:52:02.591 I/Marketplace( 1745): at u/< (https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1436293462188:4:15662)
08-04 18:52:02.601 E/Marketplace( 1745): [JavaScript Error: "TypeError: element is null" {file: "chrome://global/content/forms.js" line: 718}]
08-04 18:52:02.631 I/Marketplace( 1745): Content JS LOG: [req] Request failed: GET 0
08-04 18:52:02.631 I/Marketplace( 1745): at u/< (https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1436293462188:4:15662)
08-04 18:52:02.631 I/Marketplace( 1745): Content JS LOG: [req] Closing pool
08-04 18:52:02.631 I/Marketplace( 1745): at u/< (https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1436293462188:4:15662)
specific to 2.5.
Severity: normal → critical
Priority: -- → P1
Comment 6•10 years ago
|
||
STR:
1. Wifi is disabled.
2. Launch marketplace
3. Do a search
expected behavior:
We inform the user that they are offline
actual behavior:
Search says "No results found , try again later" which is confusing.
Search worked fine after enabling wifi from the Settings app.
Assignee | ||
Comment 7•10 years ago
|
||
We rely on `navigator.onLine` to tell us whether the device is connected or not. Weird that you'd end up being able to do a search : if you are offline, and somehow that check is not working, then the entire Marketplace iframe should fail to load...
Updated•10 years ago
|
Severity: critical → normal
Updated•10 years ago
|
Assignee: nobody → mpillard
Assignee | ||
Comment 8•10 years ago
|
||
From the logs in comment 2:
06-29 15:34:54.813 8975 8975 W Marketplace: [JavaScript Warning: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://marketplace.cdn.mozilla.net/api/v2/fireplace/search/?cache=1&dev=firefoxos&lang=en-US&limit=10&pro=7ffffffffffff.51.6&q=notify®ion=ar&vary=0. (Reason: CORS request failed)."]
06-29 15:34:54.823 8975 8975 I Marketplace: Content JS LOG: [req] Request failed: GET 0
I doubt it's really a CORS issue, I suspect there was a network issue *after* Marketplace was successfully launched, causing that CORS issue and preventing you to load the search results. Which would make the STR in comment 6 inaccurate.
So the STR would actually be:
1. Open marketplace
2. Lose network connection (both wifi+data fail for any reason)
3. Do a search
4. Notice no results are found.
Marketplace should warn you when we lose the connection (we already detect it at launch time and when we regain focus). That's bug 1177847.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•