Inconsistent results for price on stage

RESOLVED WORKSFORME

Status

P4
normal
RESOLVED WORKSFORME
5 years ago
4 years ago

People

(Reporter: andy+bugzilla, Unassigned)

Tracking

x86
Mac OS X
Points:
---

Details

(Reporter)

Description

5 years ago
I deleted a price tier on stage for an app, so the correct answer to getting the app details is null, as below:

[889629] zamboni $ curling https://marketplace.allizom.org/api/v1/apps/app/pricetier5/?region=co | grep price
  "slug": "pricetier5", 
  "price": null, 
  "price_locale": null, 

However repeated requests to that URL are not consistent:

[889629] zamboni $ curling https://marketplace.allizom.org/api/v1/apps/app/pricetier5/?region=co | grep price
  "slug": "pricetier5", 
  "price": "4150.00", 
  "price_locale": "CO$4,150.00", 
[889629] zamboni $ curling https://marketplace.allizom.org/api/v1/apps/app/pricetier5/?region=co | grep price
  "slug": "pricetier5", 
  "price": null, 
  "price_locale": null, 
[889629] zamboni $ curling https://marketplace.allizom.org/api/v1/apps/app/pricetier5/?region=co | grep price
  "slug": "pricetier5", 
  "price": null, 
  "price_locale": null, 
[889629] zamboni $ curling https://marketplace.allizom.org/api/v1/apps/app/pricetier5/?region=co | grep price
  "slug": "pricetier5", 
  "price": "4150.00", 
  "price_locale": "CO$4,150.00",
(Reporter)

Comment 1

5 years ago
Similar on prod:

[889629] zamboni $ curling https://marketplace.firefox.com/api/v1/apps/app/jaxogram/?region=co | grep price
  "price": null, 
  "price_locale": null, 
[889629] zamboni $ curling https://marketplace.firefox.com/api/v1/apps/app/jaxogram/?region=co | grep price
  "price": "4150.00", 
  "price_locale": "CO$4,150.00",
(Reporter)

Comment 2

5 years ago
After another push to prod I tested this again and noticed it was consistently correct.
(Reporter)

Comment 3

5 years ago
Making low priority because I'm assuming that bug bug 895688 and bug 882827 will remove this problem from happening.
Priority: -- → P4
(Reporter)

Updated

4 years ago
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.