base_controller.js failure on `self` #115

Closed
bartek opened this Issue Apr 3, 2012 · 2 comments

Projects

None yet

2 participants

@bartek
bartek commented Apr 3, 2012

Hi there,

I seem to be getting this when I run Geddy on production. I'm not sure what is causing it, but it might be easy for you to identify? Here's the traceback


/usr/local/lib/node_modules/geddy/lib/base_controller.js:398
            self// Don't look at any more formats if there's a match
            ^
ReferenceError: self is not defined
    at [object Object].<anonymous> (/usr/local/lib/node_modules/geddy/lib/base_controller.js:398:13)
    at [object Object].<anonymous> (/usr/local/lib/node_modules/geddy/lib/base_controller.js:669:40)
    at [object Object].index (/home/admin/apps/tobikemap/app/controllers/main.js:21:10)
    at /usr/local/lib/node_modules/geddy/lib/base_controller.js:512:22
    at [object Object]._handleAction (/usr/local/lib/node_modules/geddy/lib/base_controller.js:528:7)
    at /usr/local/lib/node_modules/geddy/lib/app.js:269:34
    at /usr/local/lib/node_modules/geddy/lib/app.js:428:19
    at /usr/local/lib/node_modules/geddy/lib/sessions/index.js:72:9
    at [object Object].read (/usr/local/lib/node_modules/geddy/lib/sessions/stores/memory.js:35:5)
    at [object Object].init (/usr/local/lib/node_modules/geddy/lib/sessions/index.js:75:19)
@mde mde added a commit that referenced this issue Apr 3, 2012
@mde mde Issue #115 -- fixed artifact from bad merge. 19fcc6d
@mde
Contributor
mde commented Apr 3, 2012

Looks like a fat-finger copy/paste, or an artifact of a bad merge -- been there for a very long time. This is fixed in master and v0.3.21. Thanks for catching this. :)

@mde mde closed this Apr 3, 2012
@bartek
bartek commented Apr 3, 2012

Woo, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment