Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error opening topic #1547

Closed
dibu28 opened this issue May 20, 2014 · 3 comments
Closed

Error opening topic #1547

dibu28 opened this issue May 20, 2014 · 3 comments
Assignees
Milestone

Comments

@dibu28
Copy link

dibu28 commented May 20, 2014

I've installed NodeBB-v0.4.3.0, node v0.10.28, npm 1.4.7.
Created user and new Topic, but then I click on this new topic NodeBB crushes with an error:


TypeError: Cannot read property 'editable' of undefined
at /home/dibu/NodeBB-v0.4.3.0/src/topics/posts.js:69:97
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:533:17
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:119:25
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:24:16
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:530:21
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:232:13
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:119:25
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:24:16
at /home/dibu/NodeBB-v0.4.3.0/node_modules/async/lib/async.js:229:17
at /home/dibu/NodeBB-v0.4.3.0/src/postTools.js:63:4


Tried running nodebb start and pm2 start app.js -i max the same error.

@dibu28
Copy link
Author

dibu28 commented May 20, 2014

Latest commits seems fixed this error.

@dibu28 dibu28 closed this as completed May 20, 2014
@barisusakli
Copy link
Member

Looks like postTools.privileges doesn't return a meta object on the 0.4.x branch and topics/posts.js is trying to read from a meta object. @julianlam should we update that?

@julianlam
Copy link
Member

b37b805

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

No branches or pull requests

3 participants