Closed Bug 962524 Opened 12 years ago Closed 11 years ago

Marketplace origin cannot change for 1.1

Categories

(Marketplace Graveyard :: General, defect, P1)

Avenir

Tracking

(Not tracked)

RESOLVED WONTFIX
2014-07-01

People

(Reporter: amac, Unassigned)

References

Details

(Keywords: productwanted)

On bug 929600 a origin field was added to the Marketplace packaged app (see https://github.com/mozilla-b2g/gaia/pull/14426). Unfortunately, the origin that was added is different from the origin that at least some of the existing 1.1 phones (Movistar ZTE open) use: app://marketplace.firefox.com versus app://marketplace While I believe that when those phones are updated to 1.3 the problem will go away, at the moment this means that those phones cannot update the Marketplace app (and even worse, they get an update offered, which they can download but not apply, so the update will be offered again).
Assignee: nobody → cvan
Priority: -- → P1
Target Milestone: --- → 2014-01-28
amac, can you point to me where the origin is defined as `app://marketplace`?
Flags: needinfo?(amac)
On the /system/b2g/webapps/webapps.json of the TEF commercial ZTE Open phones: "marketplace": { "origin": "app://marketplace", "installOrigin": "https://marketplace.firefox.com", "receipt": null, "installTime": 132333986000, "manifestURL": "https://marketplace.firefox.com/packaged.webapp", "removable": false, "localId": 20, "etag": "\"4d518e89c0218fd0e6133b8b00111d250d744a3c9b29817f3159914800f28c4c\"", "packageEtag": "\"6577edc8afbfe55f6c9dc77b5fdba6f8aa75aa34d206d17e6a047fe3226ade67\"", "appStatus": 1 }, My guess is that the build for the phone must have got a very old Gaia version from Gaia before the name was changed (back on the day this used to be on external-apps/marketplace before it moved to external-apps/marketplace.firefox.com) See [1] for example. In any case... the thing is *that* is the origin that's set on the ZTE Open. Fortunately (I've just checked out) the other commercial phones I've checked (Alcatel and LG) have the correct origin. [1] https://github.com/mozilla-b2g/gaia/tree/4b3b2b98ca0659dbc9883f3675215e0b0c6c4a0f/external-apps
Flags: needinfo?(amac)
Previously, no origin was specified in the original Marketplace manifest, which resulted in a default origin of `app://marketplace` I presume. Is there anything we can do at this point besides requiring a system (or Marketplace) update?
Flags: needinfo?(amac)
Other than keeping two different apps (and two different manifest URLs), one for the version that was shipped with 1.1 and one for the newer phones, I can't think of anything. And it's probably too late for that too. I had to fix a couple of phones with that problem and I couldn't think of any way to fix it that didn't involve rooting the phone and playing with the webapps.json file. What I ended doing eventually was edit the webapps.json file to make the marketplace uninstallable, uninstall and then reinstall it.
Flags: needinfo?(amac)
See Also: → 955755
Target Milestone: 2014-01-28 → 2014-07-01
What is the timeline for upgrading the whole phone to 1.3?
Assignee: cvan → nobody
Are we stuck on this? I've got no idea what we can do other than upgrade to 1.3. Anyone got any ideas?
There's not much you can do without rooting the phone.
I downloaded a 1.1 build from ftp.mozilla.org and noticed that the origin is: app://marketplace.firefox.com Is this only a subset of phones, specifically the "TEF commercial ZTE Open phones"?
I triaged this with David. We don't think there is anything we can do here. We could update the phones to a new package, but we couldn't ever get them back onto the regular update path again (and stop the prompts). There isn't a reason for a new package, as the current one is iframing the actual site, so they already have the feed. We'll continue to watch usage numbers for 1.1 but there isn't anything we can do to get them back on track. It's unfortunate, but I'm closing the bug.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.