Closed Bug 858820 Opened 12 years ago Closed 12 years ago

Clean upsell on deleting

Categories

(Marketplace Graveyard :: API, defect, P1)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-04-11

People

(Reporter: basta, Assigned: andy+bugzilla)

References

Details

(Whiteboard: [fireplace] p=1)

Sure its a 500? There's no error. receipts $ curl -i https://marketplace-dev.allizom.org/api/v1/apps/search/?q= HTTP/1.1 404 NOT FOUND X-API-Version: 1 Server: gunicorn/0.15.0 Vary: X-Requested-With, Accept-Language, Cookie, X-Mobile, User-Agent Content-Type: application/json; charset=utf-8 Strict-Transport-Security: max-age=2592000 Date: Fri, 05 Apr 2013 22:44:40 GMT Transfer-Encoding: chunked Access-Control-Allow-Origin: * X-Content-Security-Policy-Report-Only: policy-uri /services/csp/policy?build=5b5b Via: Moz-pp-zlb09 Connection: keep-alive Set-Cookie: lang="en-US\054"; Path=/ Set-Cookie: region=us; Path=/ Access-Control-Allow-Methods: GET, OPTIONS {"error_message": "Sorry, this request could not be processed. Please try again later."}
I call it a 500 because the "Sorry this request ..." message is the Django 500 message. 404 is just as well.
Blocks: 859511
Priority: -- → P1
Assignee: nobody → amckay
Priority: P1 → P4
Whiteboard: p=1
Priority: P4 → P1
Target Milestone: --- → 2013-04-11
Blocks: 855887
Re-indexing ES. It's stopped throwing 404's and is now throwing 200's but no results. Let's see how that goes.
An addon being used in the results has an upsell. The upsell was deleted but the table never cleaned up.
Summary: Search API throws 500 when passed an empty query → Clean upsell on deleting.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Was a bit more than one point btw.
Summary: Clean upsell on deleting. → Clean upsell on deleting
Whiteboard: p=1 → [fireplace] p=1
You need to log in before you can comment on or make changes to this bug.