ORIENT/modules/backend
Samuel Georges f771887ee5 When refreshing fields, forceFill is a bit too flaky
- Using a proxy field would populate a relation with an array of attributes, this is not good or consistent. Instead the FormModelSaver trait is used to bring the behavior in line with FormController and others. This should improve consistency in the behavior and developer expectations.

- The noticeable difference will be that relations and their values are now set by the postback data where possible. In cases where this is undesirable -- eg: updating a relation triggers proxy fields to update with existing values, when they should seed from the relation instead (desire to lose prior changes) -- the formExtendRefreshData controller override can be used to prune the existing values from the dataset, where they will then be seeded from the model as normal.

- Also the $data property is only rebuilt if it differs from the model. Previously it would corrupt the model-based dataset by converting to an array then back to an object. If the two objects are the same, they will be passed by reference and values will replicate this way.
2016-11-30 07:08:12 +11:00
..
assets Use select2 on touch devices 2016-10-17 08:38:01 +11:00
behaviors Allow redirect: false on importExportController 2016-11-28 07:50:06 +11:00
classes Allow redirect: false on importExportController 2016-11-28 07:50:06 +11:00
controllers Fix for postgresql: you cannot compare a boolean column with integers 2016-11-15 16:55:23 +13:00
database Fixes tests - migrations are in global namespace 2016-06-06 07:35:30 +10:00
facades Introduce new Cms helper 2016-08-20 14:43:49 +10:00
formwidgets Merge pull request #2507 from oliverpool/patch-1 2016-11-28 08:45:40 +11:00
helpers Add Backend::date shorthand helper 2016-11-30 06:59:50 +11:00
lang Translate the Page link popup (#2467) 2016-11-10 07:39:29 +11:00
layouts Add IE edge headers for policies stuck in compat mode 2016-08-13 15:29:58 +10:00
models Simplify code 2016-11-23 08:11:24 +11:00
reportwidgets Styling fix to the welcome widget 2016-10-25 07:33:24 +11:00
skins Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11:00
traits Halycon models do not declare forceFill 2016-11-05 10:59:53 +11:00
views Nicer error message when no DB and backend access attempt 2016-06-05 07:16:11 +10:00
widgets When refreshing fields, forceFill is a bit too flaky 2016-11-30 07:08:12 +11:00
ServiceProvider.php Removes redundant code 2016-11-01 08:15:03 +11:00
composer.json Update composer versions 2016-07-06 17:15:41 +10:00
routes.php Add hooks to the cms/backend route definitions 2015-05-02 13:53:05 +10:00