Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Server error: TypeError: Cannot read property 'username' of undefined #230

Closed
clochix opened this issue Jan 7, 2016 · 2 comments
Closed
Labels

Comments

@clochix
Copy link
Contributor

clochix commented Jan 7, 2016

Trace:

Cannot read property 'username' of undefined
TypeError: Cannot read property 'username' of undefined
    at /usr/local/cozy/apps/proxy/build/server/controllers/authentication.js:110:13
    at /usr/local/cozy/apps/proxy/build/server/controllers/authentication.js:26:14
    at /usr/local/cozy/apps/proxy/build/server/models/user.js:77:14
    at /usr/local/cozy/apps/proxy/build/server/models/user.js:64:14
    at /usr/local/cozy/apps/proxy/node_modules/americano-cozy/node_modules/jugglingdb-cozy-adapter/lib/cozy_data_system.js:403:18
    at parseBody (/usr/local/cozy/apps/proxy/node_modules/americano-cozy/node_modules/jugglingdb-cozy-adapter/node_modules/request-json/main.js:26:12)
    at Request._callback (/usr/local/cozy/apps/proxy/node_modules/americano-cozy/node_modules/jugglingdb-cozy-adapter/node_modules/request-json/main.js:81:18)
    at self.callback (/usr/local/cozy/apps/proxy/node_modules/americano-cozy/node_modules/jugglingdb-cozy-adapter/node_modules/request-json/node_modules/request/index.js:148:22)
    at Request.emit (events.js:95:17)
    at ClientRequest.self.clientErrorHandler (/usr/local/cozy/apps/proxy/node_modules/americano-cozy/node_modules/jugglingdb-cozy-adapter/node_modules/request-json/node_modules/request/index.js:257:10)

@clochix
Copy link
Contributor Author

clochix commented Jan 7, 2016

Already fixed in 18e2099 :-S

@clochix clochix added 4 - QA and removed 0 - Backlog labels Jan 7, 2016
@poupotte
Copy link
Contributor

Thanks @clochix

@poupotte poupotte removed the 4 - QA label Jan 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants