Closed Bug 1082868 Opened 10 years ago Closed 10 years ago

[JavaScript Error: "TypeError: r is undefined" {file: "app://packaged.marketplace-dev.allizom.org/media/js/include.js" line: 10}]

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

Avenir
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: robhudson, Unassigned)

Details

I loaded the Dev app on my flame today (running 1.4.0.0-prerelease) and the app never got past the loading screen. In the logcat I saw this: [JavaScript Error: "TypeError: r is undefined" {file: "app://packaged.marketplace-dev.allizom.org/media/js/include.js" line: 10}] Looking at that line in WebIDE the `r` variable has methods `promise`, `resolve`, etc. Which points me to src/media/js/payments/payments.js and the `$def` object. I'll try to leave my device alone if we need more debug info.
After noticing that there was more than one `r` defined on line 10 I set up breakpoints on exceptions and ended up finding that `var r = n.results.shelf.operator` ends up being undefined. Screenshot from WebIDE: https://www.dropbox.com/s/f88orwbe88uzy9j/Screenshot%202014-10-14%2016.54.16.png?dl=0
That's a very old packaged app, pre-feed. Not sure there is anything we can do here, I vaguely remember this bug being fixed before we switched to the feed, but in any case, I think we should just update the dev/stage packaged apps in gaia.
Ok. Closing this in favor of bug 1083528
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.