silverstripe-framework/tests/model
Julian Seidenberg f931b8d326 API Data corruption on Versioned due to lazy loading
Lazy loading no longer loads fields from the versions table when querying. This could lead to incorrect data being displayed if the data on the object and the version it pointed to did not match.

API methods to allow setting of the context of the query that generated the DataObject on that object (used by the lazy loading mechanism to correctly query the Stage, Live, or Versions tables)

See https://github.com/silverstripe/sapphire/pull/1178 for context.
2013-02-14 14:18:10 +01:00
..
testimages ENHANCEMENT: use image file name (without file path and extension) for alt attribute when title is not provided 2009-05-24 12:16:17 +00:00
AggregateTest.php Fixed PHPUnit assertions for incomplete tests in core 2012-11-23 15:16:39 +01:00
AggregateTest.yml FEATURE: Add aggregate calculation to DataObject, allowing (cached) calculation of Max, Min, Count, Avg, etc (from r97390) 2010-04-12 05:04:34 +00:00
ArrayListTest.php API Make DataList and ArrayList immutable 2012-12-14 13:30:35 +13:00
ComponentSetTest.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
ComponentSetTest.yml MINOR Added ComponentSetTest 2010-02-22 04:37:32 +00:00
CompositeDBFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
CurrencyTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
DatabaseTest.php Fixed PHPUnit assertions for incomplete tests in core 2012-11-23 15:16:39 +01:00
DataDifferencerTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
DataDifferencerTest.yml API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
DataExtensionTest.php APICHANGE: add_extension() is now called directly on the class, instead of on Object 2012-11-07 11:07:55 +13:00
DataExtensionTest.yml API CHANGE: Renamed DataObjectDecorator to DataExtension. 2011-04-26 11:01:38 +10:00
DataListTest.php Added test for DataList filters with array and modifiers (see #8162) 2013-01-15 01:11:35 +01:00
DataObjectDuplicationTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
DataObjectLazyLoadingTest.php API Data corruption on Versioned due to lazy loading 2013-02-14 14:18:10 +01:00
DataObjectSchemaGenerationTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
DataObjectTest_Namespaced.php MINOR: Add test using a namespaced class for DataList::filter() and DataList::exclude() 2012-06-25 10:43:37 +12:00
DataObjectTest.php Merge remote-tracking branch 'origin/3.0' into 3.1 2013-01-21 11:14:57 +01:00
DataObjectTest.yml ENHANCEMENT: Add lazy loading to DataQuery. 2012-04-30 16:12:15 +12:00
DataQueryTest.php Merge remote-tracking branch 'origin/3.0' into 3.1 2012-12-14 10:57:28 +01:00
DateTest.php Less far-future date assertions, seems to throw off some PHP installs 2012-12-14 11:25:24 +01:00
DatetimeTest.php Less far-future date assertions, seems to throw off some PHP installs 2012-12-14 11:25:24 +01:00
DbDatetimeTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
DbDatetimeTest.yml MINOR Removed dependency on SiteTree in various unit tests 2011-03-29 18:07:58 +13:00
DBFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
DBLocaleTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
DBTest.php API Storing alternative DB name in cookie rather than session 2012-12-13 23:21:48 +01:00
DecimalTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
DecimalTest.yml API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
GDImageTest.php NEW: Enable multiple image manipulation back-ends on the Image class 2012-11-03 19:38:09 -07:00
GroupedListTest.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
HasManyListTest.php MINOR Add newline to end of files without one 2012-04-15 10:50:19 +12:00
HierarchyTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
HierarchyTest.yml MINOR Removed dependency on SiteTree in various unit tests 2011-03-29 18:07:58 +13:00
HTMLTextTest.php BUGFIX: Improved detection of empty HTMLText fields. 2013-01-29 18:03:47 +01:00
ImageTest.php NEW: Enable multiple image manipulation back-ends on the Image class 2012-11-03 19:38:09 -07:00
ImageTest.yml MINOR Fixing broken test on Windows 2012-05-04 22:48:47 +12:00
ImagickImageTest.php NEW: Enable multiple image manipulation back-ends on the Image class 2012-11-03 19:38:09 -07:00
LabelFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
ManyManyListTest.php BUG Retaining join extraFields on ManyManyList->add() 2012-10-03 14:58:28 +13:00
MapTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
MoneyTest.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:39:34 +13:00
MoneyTest.yml FEATURE Added Money class for managing monetary amounts with currencies through the Money design pattern. Uses the CompositeDBField interface to contain multiple database columns in a single DBField 2009-05-05 08:10:51 +00:00
MySQLDatabaseTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
PaginatedListTest.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 17:33:31 +13:00
PercentageTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
SQLQueryTest.php BUG SQLQuery::aggregate() with limit, groupBy and orderBy (fixes #8148) 2012-12-21 15:20:59 +01:00
SQLQueryTest.yml BUG SQLQuery::aggregate() with limit, groupBy and orderBy (fixes #8148) 2012-12-21 15:20:59 +01:00
StringFieldTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
TextTest.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
TransactionTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
UnsavedRelationListTest.php NEW: Allows setting of has_many and many_many relations before writing 2012-11-28 09:37:08 +13:00
UnsavedRelationListTest.yml NEW: Allows setting of has_many and many_many relations before writing 2012-11-28 09:37:08 +13:00
URLSegmentFilterTest.php Merge remote-tracking branch 'origin/3.0' into 3.1 2012-12-21 15:04:17 +01:00
VersionedTest.php Fixed line lengths 2013-01-11 09:59:33 +01:00
VersionedTest.yml MINOR Removed dependency on SiteTree in various unit tests 2011-03-29 18:07:58 +13:00