silverstripe-framework/tests
Craig Weber e732aee6eb Fixes #3182 Fixes lazy loading of fields when query was created in default stage
When a DataObject query is created in the default stage (stage.Stage), then the
stage is changed to something else (stage.Live), the query itself runs
correctly against stage.Stage. However, lazy loaded fields incorrectly run
against stage.Live. This is due to DataQuery parameters not being saved when
the default stage is active.

This commit fixes this bug by always saving query params, even when the default
stage was active at the time of query creation.
2016-05-10 15:44:22 +12:00
..
api MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
assets FIX extra_requirements to accept non associative arrays. 2013-06-02 13:37:34 +12:00
behat Merge 3 into master 2016-04-29 17:50:55 +12:00
cache Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
control Merge 3 into master 2016-04-29 17:50:55 +12:00
core Merge branch '3' 2016-05-04 23:36:10 +01:00
dev API: Move DBField subclasses into SilverStripe\Model\FieldType namespace 2016-03-22 18:09:30 +13:00
email Set deprecation level for all changes in 3.x to 4.0 2015-06-19 13:07:41 +12:00
filesystem Merge branch '3' 2016-05-04 23:36:10 +01:00
forms FIX: Renaming to HTMLEditorConfig. 2016-05-06 14:16:34 +12:00
i18n MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
injector API Injector dependencies no longer inherit from parent classes automatically 2016-05-03 18:39:31 +12:00
integration Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
javascript API Removed custom dev/tests/ execution 2016-02-23 20:19:35 +13:00
model Fixes #3182 Fixes lazy loading of fields when query was created in default stage 2016-05-10 15:44:22 +12:00
oembed Add unit tests for oembed autodiscover and thumbnail detection 2016-04-15 14:00:10 +12:00
parsers MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
phpcs Add code-sniffs other than line length to scrutinizer 2013-05-23 10:39:01 +12:00
search Cleanup trailing whitespace 2016-03-09 10:20:31 +13:00
security API Add CSRF to Campaign delete 2016-05-09 17:33:10 +12:00
tasks Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
templates MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
testing MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
view API: Move DBField subclasses into SilverStripe\Model\FieldType namespace 2016-03-22 18:09:30 +13:00
Bare.yml MINOR: Added small fixture YML that just lets you log in, for bootstrapping browser automation tests. 2011-02-02 14:17:57 +13:00
bootstrap.php API Removed custom dev/tests/ execution 2016-02-23 20:19:35 +13:00
FakeController.php FEATURE: implement getter and setter usage for response 2015-08-29 10:24:06 +12:00
MemoryLimitTest.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
phpcs_runner.php Only have Scrutinizer check PHP files 2013-08-21 21:02:12 +12:00
PhpSyntaxTest.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00