mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Setting brokenOnConstruct to FALSE in CompositeField::__construct() - it skips a constructor, hence breaking request handling (and therefore direct field access through /Form/Field/MyCompositeField/FieldHolder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@81127 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
7f77bc4733
commit
fcc6948e79
@ -39,6 +39,9 @@ class CompositeField extends FormField {
|
||||
}
|
||||
$this->children->setContainerField($this);
|
||||
|
||||
// Skipping FormField::__construct(), but we have to make sure this
|
||||
// doesn't count as a broken constructor
|
||||
$this->brokenOnConstruct = false;
|
||||
Object::__construct();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user