Closed Bug 1189963 Opened 9 years ago Closed 6 years ago

User is not returned to the test app if Marketplace is open and the acl.version value is incorrectly set

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: krupa--use, Unassigned)

References

Details

Attachments

(1 file)

device info:
2.1/3.0/build identifier: 20150724001207; Git commit info 2015-07-23 12:36:57/9dba58d1


steps to reproduce:
1. You need a rooted flame with an up to date stage app
2. You need to do in a terminal: 
adb shell 
setprop persist.acl.version ";P1111" <-this is the wrong value
3. Sideload the test app attached to this bug
4. Launch the stage app
5. Launch the test app
6. Click the install link

expected behavior:
Since the value set is incorrect, user is returned to the test app and there is an error message


actual behavior:
User ends up in the marketplace homepage if the user had previously opened marketplace stage app. This only happens on 2.1 and not on 2.2
Component: Consumer Pages → Gaia
Product: Marketplace → Firefox OS
Version: 1.4 → unspecified
More info:

The problem lies with the MozActivity called "marketplace-openmobile-acl". It's set in Marketplace's manifest to return a value, and it does, calling postResult() or postError() depending on the context. 

As the STR above explain, when the activity is called from another app and it returns an error, if Marketplace app was already launched before, instead of returning to the app we stay in Marketplace. The value is passed back to the calling app, we just don't show the app.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: