I noticed that, when I decorate the Member class by using 'MemberExtension extends DataDecorator' and offcourse putting 'Object::add_extension('Member', 'MemberExtension');' in _config.php, I get the following error when adding new members to the security tab:
Warning at line 381 of /Users/Maurice/atMarks/elise/www/framework/forms/gridfield/GridFieldDetailForm.php
Seemed that the following snippet causes the error:
$message = sprintf(
_t('GridFieldDetailForm.Saved', 'Saved %s %s'),
'<a href="' . $this->Link('edit') . '">"' . htmlspecialchars($this->record->Title, ENT_QUOTES) . '"</a>'
When I just put '$message = "some message";' instead, it works just fine. Could it be that this snippet (part of the doSave($data, $form)) needs to be modified to because it might need ->owner inclusions? Is this a known bug? As I couldn't find anything on it.