Closed Bug 912443 Opened 12 years ago Closed 12 years ago

cache miss and script error when installing apps

Categories

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

x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-09-10

People

(Reporter: eviljeff, Assigned: basta)

References

()

Details

https://marketplace.firefox.com/search?q=predict+ball Predict ball is there twice (note with different developers) but this is seemingly causing [12:03:37.176] TypeError: a is undefined @ https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=2c3f67a-5226326e:1 [12:03:37.175] "[model] app cache miss for key predict-ball" [12:03:37.176] "[amd] Script error." "https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=2c3f67a-5226326e" 0 which breaks install for all search results (not just predict ball). Marking as critical as I don't know how many apps/search strings this is hitting.
Further details - * I can only replicate this so far on Aurora, not Beta. * hitting refresh sometimes helps, sometimes causes the issue. * This app's detail page: https://marketplace.firefox.com/app/ip/ is throwing the exact same error
I can reproduce both with Aurora and Firefox 23, desktop.
Looking at the raw JSON output, there are two distinct apps named "Predict Ball". 1. ID=449966 2. ID=462654 According to the database the first one is deleted and should have been removed from the search index, but apparently was not. I've asked for prod to be reindexed to clear this up.
thanks Rob. Revising the bug summary now its clear the duplicated search result was unrelated to non-installable issue.
Summary: some apps are duplicated in the search results; all results are non-installable → cache miss and script error when installing apps
I can near-reliably replicate by: 1) running https://marketplace.firefox.com/search?q=predict+ball 2) apps should install 3) hit refresh 4) script error should happen.
Yeah, these are definitely two different apps (notice the different developer names below the app names). CC-ing Basta for Fireplace troubleshooting.
(In reply to Christopher Van Wiemeersch [:cvan] from comment #6) > Yeah, these are definitely two different apps (notice the different > developer names below the app names). The reindex fixed the two apps issue. I can still replicate the js and non-install error regardless though.
I'd need full logs to be able to debug what the problem is. The cache miss explains why there's a TypeError, but I don't know why you're getting a cache miss.
submitted: 5f84d (I can't see anything particularly more informative than the bit I posted though tbh)
Just what I needed to see. https://github.com/mozilla/fireplace/commit/41580e6e578b214d6f1bdf8dd75b264f472a4988 Let me know if that does anything, once -dev updates.
I couldn't and can't reproduce. eviljeff - please reopen if this isn't fixed - thanks!
Assignee: nobody → mattbasta
Severity: critical → normal
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(awilliamson)
Priority: -- → P3
Resolution: --- → FIXED
Target Milestone: --- → 2013-09-10
I didn't try on -dev (the app wasn't available for me to try the same search) so I've no way of trying to reproduce until this hits prod unfortunately
Flags: needinfo?(awilliamson)
You need to log in before you can comment on or make changes to this bug.