When attempting to merge posts into an existing topic, nothing happens when clicking “Move to Existing Topic”
An error is visible in the JS console:
Uncaught TypeError: Cannot read property 'forEach' of undefined at n.performMove
When attempting to merge posts into an existing topic, nothing happens when clicking “Move to Existing Topic”
An error is visible in the JS console:
Uncaught TypeError: Cannot read property 'forEach' of undefined at n.performMove
Can you try to update to latest? I think I fixed this.
Still not working after upgrade I’m afraid.
Ok will look later today
can you tell me exactly what commit your forum is on right now please ?
This is not latest, you don’t have:
https://github.com/discourse/discourse/commit/034502af2138aaf1e3a847ffcdc3f07ec83bbb6b
Sorry I wasn’t on my computer, maybe our CI was blocked on some test for a moment, and took time to get this commit in tests-passed. It’s definitely in now and should fix your issue.
Tried a restart (not yet rebuild), didn’t help.
This is the error in production.log
:
Started GET "/" for 82.44.224.199 at 2019-05-29 21:36:38 +0000
Processing by ListController#latest as HTML
Completed 500 Internal Server Error in 690ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `url' for nil:NilClass)
/var/www/discourse/plugins/poll/plugin.rb:441:in `block (3 levels) in activate!'
I notice the poll plugin has been recently changed. Any idea what might be wrong, @nbianca / @zogstrip ?
I’m currently trying a rebuild to see if this helps
Update this didn’t help. Forum still dead… ideas please anyone?!
Update I entered the Docker container and did the following:
mv /var/www/discourse/plugins/poll /tmp
exit
./launcher restart app
This seems to have got the forum working, although polls are now not rendering properly.
Definitely related to this commit.
Sorry about that. Can you try again once https://github.com/discourse/discourse/commit/a188d15b08dac322c074b4ee9de6269ec6cc3fe2 gets on the test-passed
branch?
Thanks. I’ll await the fix on tests-passed
That has fixed it for me. Thanks for the very quick turnaround on this issue
Can confirm, this has fixed the issue with merging topics. Many thanks Joffrey