Aaron Carlino 3ef9ca69d1 BUGFIX: DBComposite doesn't allow arbitrary property assignment
To be more consistent with `ViewableData`, whose `setField()` method will fallback on [assigning properties arbitrarily](https://github.com/silverstripe/silverstripe-framework/blob/4/src/View/ViewableData.php#L213), `DBComposite` shouldn't bail out of `setField` when the field specified isn't in the record.

Arbitrary property assignment is particularly important in injection.

```yaml
SilverStripe\ORM\FieldType\DBComposite:
  dependencies:
    myService: %$Service
```

Right now, that fails, because `$obj->myService = Service` invokes `__set()` which calls `setField()` which refuses the assignment when `myService`is not in the record.
2017-07-27 17:25:29 +12:00
2017-07-21 15:41:44 +01:00
2017-04-28 14:59:42 +12:00
2017-07-25 16:17:44 +01:00
2017-07-27 12:05:27 +12:00
2017-06-27 13:14:39 +01:00
2017-07-05 09:14:26 +01:00
2017-07-26 17:36:39 +01:00
2017-06-30 10:05:20 +12:00
2017-07-05 16:24:15 +12:00
2015-05-11 12:01:30 +12:00

SilverStripe Framework

Build Status Latest Stable Version Latest Unstable Version codecov Total Downloads License Dependency Status Reference Status helpfulrobot

PHP5 framework forming the base for the SilverStripe CMS (http://silverstripe.org). Requires a silverstripe-installer base project. Typically used alongside the cms module.

Installation

See installation on different platforms, and installation from source.

Bugtracker

Bugs are tracked on github.com. Please read our issue reporting guidelines.

Development and Contribution

If you would like to make changes to the SilverStripe core codebase, we have an extensive guide to contributing code.

Description
No description provided
Readme 162 MiB
Languages
PHP 99.4%
Scheme 0.5%