Closed
Bug 869675
Opened 12 years ago
Closed 12 years ago
Receipts API endpoint throws 403 when installing apps that have previously been installed.
Categories
(Marketplace Graveyard :: API, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-05-16
People
(Reporter: krupa.mozbugs, Assigned: chuck)
References
Details
(Whiteboard: [fireplace])
steps to reproduce:
1. Launch marketplace-altdev on your firefox OS phone
2. Tester is signed in
3. Install free apps like Twitter and Soundcloud
4. Navigate to Settings->My Apps
expected behavior:
installed apps get listed under My Apps
observed behavior:
My Apps has no apps listed
Comment 1•12 years ago
|
||
What happens if you relaunch the app?
Comment 2•12 years ago
|
||
Updated•12 years ago
|
Flags: needinfo?(krupa.mozbugs)
Comment 3•12 years ago
|
||
Is it that they don't show up immediately or that they never show up at all?
Comment 4•12 years ago
|
||
This also looks like a dupe of bug 869675.
Comment 5•12 years ago
|
||
Dupe of bug 865617.
Reporter | ||
Comment 6•12 years ago
|
||
(In reply to Christopher Van Wiemeersch [:cvan] from comment #5)
> Dupe of bug 865617.
I filed a separate bug since it was Fireplace.
I cannot log in anymore due to bug 870025. SO cannot answer the question from comment 3
Flags: needinfo?(krupa.mozbugs)
Reporter | ||
Comment 7•12 years ago
|
||
I still don't see my installed apps on my Firefox OS phone
Comment 8•12 years ago
|
||
This should fix it:
https://github.com/mozilla/fireplace/commit/4f90115419353fcdfa407ddcd4df64f4ded5da49
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-05-09
Comment 9•12 years ago
|
||
I observed a regression when I verified this bug https://marketplace-dev.allizom.org. I installed little alchemy app and then after a refresh , I opened "My Apps" and the newly installed app was listed , but the install button state is "Free" instead of "Launch". Also, when pressing the free button an "Install Failed. Please try again later" message is displayed : http://screencast.com/t/f5Rwdlkro
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 10•12 years ago
|
||
The API is returning a 403 Forbidden with a null response when I attempt to install an app from the My Apps page. It seems that the API will do this any time you try to post an install for an app that you've already installed.
Assignee: mattbasta → nobody
Component: Consumer Pages → API
Comment 11•12 years ago
|
||
Apps that have previously been installed contain the following user object:
{
developed: false,
installed: false,
purchased: false
}
If the app is on the My Apps page, clearly this information is wrong.
Priority: -- → P1
Target Milestone: 2013-05-09 → 2013-05-16
Updated•12 years ago
|
Summary: Installed apps don't show up under "My Apps" → Receipts API endpoint throws 403 when installing apps that have previously been installed.
Updated•12 years ago
|
Assignee: nobody → charmston
Comment 12•12 years ago
|
||
Hmm, I've got a test for specifically that case:
https://github.com/mozilla/zamboni/blob/master/mkt/receipts/tests/test_api.py#L201
And in testing, I wasn't able to reproduce this.
Comment 13•12 years ago
|
||
Found it, passing a user not a user profile. Didn't want to do it right now, but we should raise TypeErrors if someone does that, not return False.
https://github.com/mozilla/zamboni/commit/c09d73
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Comment 14•12 years ago
|
||
Confirmed for me on -dev:
{"developed": false, "installed": true, "purchased": false}
You need to log in
before you can comment on or make changes to this bug.
Description
•