1101 Posts in 480 Topics by 394 members
|Go to End|
12 February 2009 at 6:05pm
I'm currently on the nestedurls SVN branch and today did an 'svn up' of cms, sapphire, core, jscript, forum, and blog (to r71786). I tried to load back into SS and get the error: "Fatal error: Call to undefined method MemberTableField::addpermissions() in /home/****/****/ss/forum/_config.php on line 9". There is no method addpermissions. There is a method addPermissions. The strange thing is that the config file references addPermissions, but somewhere along the line that gets changed to addpermissions, which method does not exist. Can someone please tell me how this can be fixed?
Thanks in advance.
P.S. Now that I think of it, I cannot find the text addPermissions in any files other than forum/_config.php. What's going on?
12 February 2009 at 6:52pm
I just realized, the addPermissions method does not exist in the MemberTableField.php file at all. After reading through the docs, I found out that that method is deprecated, and seems to now have been completely removed. Therefore, the forum's module's _config.php should be update to reflect the deprecated function.
I'll file a bug report tommorrow.
12 February 2009 at 9:48pm
This has been re-added in the trunk branch, http://open.silverstripe.com/changeset/71594/modules
When ajshort merges trunk back to nestedurls branch, this error should go away.
The addPermissions() method doesn't actually do anything anyway, because permissions are set when MemberTableField is instantiated.
You're right, the forum module needs to be updated. This call to MemberTableField should be removed in forum/trunk because it's deprecated.
Please file a ticket on open.silverstripe.com and we'll update the forum module accordingly.
|Go to Top|