Yeah it does work because of the check I added in core. I also added a check so you can't set the parent to itself to prevent it happening again.
Viewing threads causes restart
Just updated as the ACP told me i was out of date.
Currently on v0.5.1 with the new, very sexy, ACP
Whenever i try to view a thread i get this
TypeError: Cannot call method 'forEach' of undefined at /home/bitbangers/www/NodeBB/src/groups.js:564:17 at Object.module.isMemberOfSets (/home/bitbangers/www/NodeBB/src/database/mongo/sets.js:131:11) at /home/bitbangers/www/NodeBB/src/groups.js:558:9 at /home/bitbangers/www/NodeBB/node_modules/async/lib/async.js:249:17 at /home/bitbangers/www/NodeBB/node_modules/async/lib/async.js:125:13 at Array.forEach (native) at _each (/home/bitbangers/www/NodeBB/node_modules/async/lib/async.js:46:24) at async.each (/home/bitbangers/www/NodeBB/node_modules/async/lib/async.js:124:9) at _asyncMap (/home/bitbangers/www/NodeBB/node_modules/async/lib/async.js:248:13) at Object.map (/home/bitbangers/www/NodeBB/node_modules/async/lib/async.js:219:23)
Anything i can do to fix?
Stange, my ACP says 0.5.2.
Yeah I was having issues with updating, Master branch displays 0.5.2 i think and the v0.5.x branch displays 0.5.1.
Should be fixed in https://github.com/NodeBB/NodeBB/commit/3865fd3ab9b79700b1618ac47789a6e54e8070a3.
Nice work again @baris
I think i will stick to what version we are on now until everything gets fixed in the latest.