Closed Bug 941337 Opened 12 years ago Closed 12 years ago

Handle deleted apps inside collections

Categories

(Marketplace Graveyard :: API, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
2013-12-10

People

(Reporter: sdevaney, Assigned: mat)

Details

Attachments

(1 file)

Attached image oh_noes.png —
See attached image. I receive an error message in the curation tool when I try to update Featured Apps on the Games page for Worldwide. This is the only page this occurs, as I just went through all Worldwide and region-specific Home and Game pages to update programming. Log: 602a8
Looks like a 500 on the rocketfuel endpoints: [req] GETing https://marketplace.firefox.com/api/v1/rocketfuel/collections/?_user=---&carrier&cat=games&region=worldwide ... [req] Request failed: GET 500 There should be something in sentry.
Component: Admin Tools → API
I don't see anything in Sentry, can you still reproduce ?
Flags: needinfo?(sdevaney)
I still got the error message this morning. Log: 18701
Flags: needinfo?(sdevaney)
Any updates? This error is still in effect? Thanks.
Now I'm getting the same error message for region: Serbia ... category: Social Log ac078
Priority: P2 → P1
So, the collection you are seeing here contains an app that is deleted. Somehow this app is kept in the collection, and when we try to return it as part of the result, boom. I'll fix this.
Assignee: nobody → mpillard
Summary: Curation tool - Worldwide Games page gets error message → Handle deleted apps inside collections
Status: NEW → ASSIGNED
Fixed in https://github.com/mozilla/zamboni/commit/ccab9c07c3b0aa7379a8207b49d8e1e25bf182b7 STR: - Add a couple apps to a featured apps collection in the curation tool - Go the developer pages and delete one of the app you added to the collection - Go back to the curation tool, the collection should show up fine, with only the other app in it - In the consumer pages, set your region to the one corresponding to your collection using :debug, and then go the corresponding category. The featured apps collection should show up, and it shouldn't show the deleted app - Repeat from the beginning with disabling an app instead of just deleting it. Re-enabling the app should make it show up.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-12-10
Verified as fixed for both delete and disable scenarios.
Status: RESOLVED → VERIFIED
Apologies for my lack of technical acumen, but I've re-opened this bug because I am still seeing this error in the curation tool. As the programmer of featured content, I'm unsure how to proceed. Thanks.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
I imagine that there's some bad data left in the database. If Mathieu doesn't beat me to it, I'll try to get this taken care of before the start of the PST workday on Monday.
The fix will only go in production next tuesday.
OK thanks. It looks like this bug is affecting all Social pages with the exception of Poland. The timing is unfortunate as we just got the popular messaging app MessageMe and it would be great to feature it on Social pages in all regions. Thanks again for your attention to this, guys!
Re-open if this is still a problem after tuesday push (should be noon PST)
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Verified as fixed based on comment #9 . Re-open only if it is reproducible after push(described by Mathieu in comment #14)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: