silverstripe-framework/tests
Mark Stephens 3fcf1e2c98 BUG edge case on many many extra fields (fixes 4991)
Fixes an edge case where extraFields are not returned if
one side of a many many is added via extension (although this
may not be the only failure case). Fixes a
downstream issue with dms breaking the CMS on framework 3.2.

The bug is where a many many relationship exists on a class,
and a sub-class attempts to get the extra fields of the
relationship. The change fixes the test for exact matching of
the relationship class to the instance class, to checking if
the instance is the class or a subclass of the relationship.

The unit tests check the dms failure case, which is a more
complex failure case.
2016-02-04 12:47:07 +13:00
..
api [ss-2015-022]: XML escape RSSFeed $link parameter 2015-11-11 17:46:39 +13:00
assets FIX extra_requirements to accept non associative arrays. 2013-06-02 13:37:34 +12:00
behat Merge remote-tracking branch 'composer/3.1' into 3 2015-01-15 18:52:46 +13:00
cache Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
control FIX #4392: Ensure headers are checked first before being clobbered by globally maintained state. Also ensuring tests utilize separate responses for isolation. 2015-10-09 13:50:33 -04:00
core BUG Ensure that filters on any fixed field are scoped to the base data table 2015-10-30 16:26:14 +13:00
dev API Disable deprecation notices by default 2015-07-16 09:56:47 +12:00
email Set deprecation level for all changes in 3.x to 4.0 2015-06-19 13:07:41 +12:00
filesystem Merge remote-tracking branch 'origin/3.1' into 3.2 2015-07-31 11:38:18 +12:00
forms Merge remote-tracking branch 'origin/3.1' into 3.2 2016-01-19 14:00:19 +13:00
i18n Merge branch '3.1' into 3.2 2015-07-20 10:48:01 +01:00
injector Merge remote-tracking branch 'origin/3.1' 2014-11-18 12:45:54 +13:00
integration Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
javascript Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
model BUG edge case on many many extra fields (fixes 4991) 2016-02-04 12:47:07 +13:00
oembed Nest and unnest Config and Controller for each test and test suite 2015-06-11 16:37:25 +01:00
parsers Merge branch '3.1' into 3.2 2015-07-20 10:48:01 +01:00
phpcs Add code-sniffs other than line length to scrutinizer 2013-05-23 10:39:01 +12:00
search Removed whitespaces 2015-10-07 09:33:02 +03:00
security Merge remote-tracking branch 'origin/3.1' into 3.2 2016-01-19 14:00:19 +13:00
tasks Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
templates BUG Fix default casted (boolean)false evaluating to true in templates 2015-06-12 15:47:15 +12:00
testing Refactor DataObject has_one/has_many/many_many methods 2015-03-13 15:15:23 +00:00
view [ss-2015-021] Fix rewrite hash links XSS 2015-11-11 17:46:27 +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 Merge remote-tracking branch 'origin/3.1' 2014-11-18 12:45:54 +13:00
FakeController.php UPDATE: change all instances of $this->request to use appropriate getter/setter 2015-04-30 11:04:08 +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