Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
the activity controller does not have a sanitize method!
Hi, I have had this error a couple of times now and it freezes the forum. A pop up box tries to open but it just hangs and I have to navigate away from the forum page, it's fine when I come back.
This time it was caused by this.
I was in my profile as an admin. I clicked on the cross to delete an activity and I then get the message: "the activity controller does not have a sanitize method"
I have attached a screen grab of the problem. Any help would be appreciated.
0
Comments
I noticed this too.
It relates to this fix
https://github.com/vanilla/vanilla/commit/a428a867ccee453097f7dbf2e76dd47fd81da349#commitcomment-14899543
@linc seems this slipped through the net. Would this be somethign you could include in the next update?
grep is your friend.
Cool, thanks for getting back so quickly! This should have been in an update then really. I'll add the extra code and give it a go.
Ok now I get a "view not found" error. Still hangs as well.
There's still a problem with this in master too, so thanks for the heads up. I'll work on a fix next week and backport it to 2.2. I'm expecting to release 2.2.1 in early January.
@Linc there are also some fixes to do with the editor, I wonder if you would consider those too.
grep is your friend.
Sure, gimme a GitHub issue with commit links to backport the ones you're requesting.
Ok thanks @Linc I'll wait for the update. Not due to launch until January but I know the crowd will break it for sure! Have an excellent festive season ;-)
It was actually this commit
https://github.com/vanilla/vanilla/commit/740694233c6379d47292e0a9a3f48237952f1da4#commitcomment-14899605
I never saw or made an issue but there is a permanent error when uploading.
TypeError: editor.textarea is undefined
http://localhost/test/forumtest22/plugins/editor/js/editor.js?v=1.7.2
Line 1210
Basically the progress bar doesn't hidden becuase of the wrong selector is referenced.
@beckyvb probably knows the status of the overall editor situation.
grep is your friend.
It would be cool if we could get back the vanilla comment to gitub issue menu option. I really loved that feature. Not to be a nag![;) ;)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/wink.png)
grep is your friend.
hi,
I also have the same bug.
With current Vanilla 2.2
I tried to make the changes that are in this post.
The file class.activitycontroller.php is different this link: https://github.com/vanilla/vanilla/commit/a428a867ccee453097f7dbf2e76dd47fd81da349#commitcomment-14899543
And the file editor.js is different this link :
https://github.com/vanilla/vanilla/commit/740694233c6379d47292e0a9a3f48237952f1da4#diff-4cdf1a850be5a6b9c69af45f60dbf08b
I remind you that I am under 2 vanilla
thank you for your answer
This is my class.activitycontroller.php
`<?php
/**
* Manages the activity stream.
*
* @copyright 2009-2015 Vanilla Forums Inc.
* @license http://www.opensource.org/licenses/gpl-2.0.php GNU GPL v2
* @package Dashboard
* @since 2.0
*/
/**
* Handles /activity endpoint.
*/
class ActivityController extends Gdn_Controller {
// $this->render('Blank', 'Utility');
}
}
}`
http://vanillaforums.org/discussion/comment/236978/#Comment_236978