Closed Bug 1019077 Opened 11 years ago Closed 11 years ago

[B2G][Tarako][Marketplace] Marketplace installed apps show "Install" button instead of "Open" button when marketplace is relaunched

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

Avenir
ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3 unaffected, b2g-v1.3T affected)

RESOLVED FIXED
Tracking Status
b2g-v1.3 --- unaffected
b2g-v1.3T --- affected

People

(Reporter: bzumwalt, Unassigned)

References

()

Details

Attachments

(1 file)

Attached file Logcat
Description: After user installs app from Marketplace, re-opening Marketplace shows "Install" button for already installed application instead of "Open" or "Launch" button. This occurs with both hosted and packaged apps. Selecting "Install" button brings error message "App install error: REINSTALL_FORBIDDEN". If user installs another app and stays in Marketplace, the buttons will show correctly until user exits, then re-launches Marketplace. Repro Steps: 1) Update a Tarako to BuildID: 20140602014001 2) Launch Marketplace and install a featured app (does not have to be featured app, but this cuts down on repro steps) 3) Close Marketplace 4) Launch Marketplace and observe app that was installed Actual: Button for installed app shows as "Install" instead of "Open" Expected: Button for installed app shows as "Open" or "Launch" 1.3t Environmental Variables: Device: Tarako 1.3t MOZ BuildID: 20140602014001 Gaia: 335486c42498fa7a93c21e4d6121199728602ab8 Gecko: 55e4d83019e5 Version: 28.1 Firmware Version: sp6821a-Gonk4.0-5-12 Notes: Repro frequency: 3/3, 100% See attached: Youtube video clip and logcat Youtube Link: http://youtu.be/Sn1Qq4_7YOI
Issue does NOT reproduce on Buri 1.3 Results:Button for installed app shows as "Open" or "Launch" Environmental Variables: Device: Buri v1.3 Mozilla RIL BuildID: 20140602024006 Gaia: 5bd226b03a2d63dfe9df204f7c0afb9984e8fd42 Gecko: 14b755c65af8 Version: 28.0 Firmware Version: v1.2-device.cfg
Summary: [B2G][Marketplace] Marketplace installed apps show "Install" button instead of "Open" button when marketplace is relaunched → [B2G][Tarako][Marketplace] Marketplace installed apps show "Install" button instead of "Open" button when marketplace is relaunched
Component: Gaia → Consumer Pages
Product: Firefox OS → Marketplace
Version: unspecified → Avenir
The video ends directly after loading the page. If I recall, it takes a half a second or so before the installed-detection code can run. Krupa - can you reproduce this?
I cannot reproduce this issue. Brogan, what app are using?
I saw the YouTube video. Can you check if you have any pending Marketplace updates? This bug was fixed in the newer build.
The apps I reproduced this with include Tower Jelly, The Weather Channel, and 2048.
Tested two Tarako devices flashed to the environmental variables from Comment 0. Attempted OTA Marketplace update with "required" system update. Both displayed error message "There was an error while downloading the updates." Marketplace update stops, system update continues and, when installed, rolls device back to 5/30 nightly build. These same results reproduce on both devices.
https://bugzilla.mozilla.org/show_bug.cgi?id=1015138 was the bug this was addressed in. Not sure if everyone is on the latest build of Marketplace.
Brogan, you can download the new version of the Marketplace app here : http://mzl.la/1iUBDPL Once it says it's installed launch it from the browser app and you should see that it works fine ( there will be 2 marketplace apps, choose the one on the landing screen [ when you hit the home button ] ). I think Krupa is right in that this may be a dup of the bug she mentioned.
Flags: needinfo?(bzumwalt)
After installing new Marketplace from link provided in Comment 8, issue appears to be fixed. The button initially shows "Install" even after installing, but changes to "Open" ~3 seconds later.
Flags: needinfo?(bzumwalt)
Based on the last comment, it seems like we need bug 1019055 to occur. 3 seconds is a bit long. It might be a different issue though. Please retest when bug 1019055 lands.
Depends on: 1019055
There will be a hard-coded ~3 second delay for now until we land a patch tomorrow that will allow us to write a patch that queries on installed apps upon an event. IIRC, it might not take that long on a subsequent launch of Marketplace.
Is this issue still reproducible?
Flags: needinfo?(bzumwalt)
Issue does NOT occur on current Tarako nightly build Result: Button for installed app shows as "Open" or "Launch" with less than a second of delay Environmental Variables: Device: Tarako 1.3T Build ID: 20140610112755 Gaia: fe0c0bcb572f23ea17170d5e9cac9f1a2415d6a6 Gecko: 0e56308ce67b Version: 28.1 Firmware Version: SP6821a-Gonk-4.0-5-12
Flags: needinfo?(bzumwalt)
closing for comment 13. Thanks for testing.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: