Closed Bug 995288 Opened 11 years ago Closed 11 years ago

Consumer pages not showing new version even though it's in the API

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
2014-05-20

People

(Reporter: clouserw, Assigned: kngo)

References

Details

A couple of people, including me, are seeing version 1.0.4 on https://marketplace.firefox.com/app/line even though version 1.1.4 was approved about 6 hours ago. If I load it in a separate browser I see 1.1.4, and if I load https://marketplace.firefox.com/api/fireplace/app/477640/ directly I see 1.1.4, but refreshing that original page only ever shows me 1.0.4. I thought this would update async after the detail page loaded. Any other information I can provide?
Seems only the version displayed in the text is wrong - What's strange is that it doesn't appear to happen everytime, I saw it earlier but can't reproduce it now. At the time when looking at the API request in the network developer tools, the current_version was correct. Not sure what could cause this :(
Lowering priority because it seems to be working now.
Priority: P1 → P3
I've been reproducing this locally as well, it's an offline cache issue. If you visit the app and then later go back to it, you'll hit the bug. What happens is, we are using the offline cached (using localStorage) version to display the page, and making the API request to update the cache in the background. The request is made successfully but for some reason it seems that the offline cache is never updated properly. This is pretty serious, and not limited to packaged apps, though it's easier to see with them since you can just compare the version number displayed with the one in the API. Since we push regular updates to it, you can test with https://marketplace-dev.allizom.org/app/marketplace-package ; just load it, wait for a new version to be pushed, and compare what you see in the page and in the API.
Priority: P3 → P2
Assignee: nobody → kngo
It's in the API and it's updated in the offline cache, but it's not updated in the app model cache.
Blocks: 870447
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2014-05-20
STR: - Submit a packaged app, push it to public - Visit the consumer page for this app, note the version number displayed - Upload a new version of this packaged app, push it to public - Check that the new version is displayed correctly in the consumer pages when reloading it.
Verified as fixed using steps from above
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.