silverstripe-framework/model
Niklas Forsdahl 76c5b56e81 BUG: augmentSQL always extended on base data class on query finalization
The augmentSQL DataExtension method is always extended on the base data
class of data objects in DataQuery::getFinilisedQuery(). This results
in augmentSQL not being called for extensions that are applied to non-
base data classes when finalizing the query.

For example, if Versioned was applied to class B which extends class A,
which in turn extends DataObject, then augmentSQL would be extended for
class A in DataQuery::getFinilisedQuery(). Since class A doesn't have
the Versioned extension in this example, it would not work for class B.

Fixed this by extending augmentSQL on the actual data class and not
on the base class.
2012-08-02 16:09:58 +03:00
..
fieldtypes API: Deprecate EnumField::Lower() and EnumField::Upper() to LowerCase() and UpperCase() for consistency with StringField 2012-07-18 11:54:42 +12:00
Aggregate.php MINOR Fixing deprecated use of SQLQuery 2012-05-11 11:39:06 +12:00
ArrayList.php API Prep ArrayList for immutability in 3.1 per 7673 2012-07-20 14:55:44 +12:00
ComponentSet.php Scoped deprecation messages (fixes #7645) 2012-07-13 11:37:35 +02:00
Database.php NEW Database->supportsTimezoneOverride() 2012-07-05 16:16:36 +02:00
DatabaseAdmin.php MINOR Replacing deprecated static function calls to Director with 2012-05-23 21:50:02 +12:00
DataDifferencer.php Merge pull request #434 from halkyon/using_non_deprecated_template_controls 2012-05-11 15:08:16 -07:00
DataExtension.php Scoped deprecation messages (fixes #7645) 2012-07-13 11:37:35 +02:00
DataList.php API Prep DataList for immutability in 3.1 per 7673 2012-07-20 15:58:18 +12:00
DataModel.php API CHANGE Renamed setModel for DataModel instances to setDataModel for 2012-05-01 14:45:44 +12:00
DataObject.php API DataObject#relField now checks for method on model before property 2012-07-27 14:44:38 +12:00
DataObjectDecorator.php Scoped deprecation messages (fixes #7645) 2012-07-13 11:37:35 +02:00
DataObjectInterface.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
DataObjectSet.php Scoped deprecation messages (fixes #7645) 2012-07-13 11:37:35 +02:00
DataQuery.php BUG: augmentSQL always extended on base data class on query finalization 2012-08-02 16:09:58 +03:00
DB.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Filterable.php Update docs to indicate lists not mutable as per 7673 2012-07-20 14:51:12 +12:00
GroupedList.php Fixed usage of DataList etc in docs (fixes #7518) 2012-06-27 16:09:31 +02:00
HasManyList.php BUGFIX Fixed HasManyList and ManyManyList queries for relationships on new records (was returning all available records due to the SQL filtering ignoring ID=0) 2012-03-06 01:23:34 +01:00
HiddenClass.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Hierarchy.php Revert "BUGFIX Aborting marking in Hierarchy->markPartialTree() before loading nodes, if the expected node count would exceed the totals (regardless of the in-memory marking state)" 2012-06-15 11:53:33 +02:00
HTMLValue.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Image.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Limitable.php Update docs to indicate lists not mutable as per 7673 2012-07-20 14:51:12 +12:00
List.php FEATURE: implement SS_Sortable->reverse() 2012-04-27 15:54:14 +12:00
ListDecorator.php FEATURE: implement SS_Sortable->reverse() 2012-04-27 15:54:14 +12:00
ManyManyList.php API CHANGE Deprecated internal access to SQLQuery properties, update core code to reflect these changes. 2012-05-07 14:21:44 +12:00
Map.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
MySQLDatabase.php Merge pull request #621 from chillu/pull/dbdatetimetest-offsets 2012-07-06 02:34:19 -07:00
RelationList.php API Prep forForeignID for immutability in 3.1 per 7673 2012-07-23 10:31:47 +12:00
Sortable.php Update docs to indicate lists not mutable as per 7673 2012-07-20 14:51:12 +12:00
SQLMap.php Scoped deprecation messages (fixes #7645) 2012-07-13 11:37:35 +02:00
SQLQuery.php FIX: ensure limits to SQLQuery are passed as positive values 2012-06-29 19:40:28 +12:00
Transliterator.php API CHANGE Renames Transliterator to SS_Transliterator 2012-06-15 15:54:47 +12:00
URLSegmentFilter.php API CHANGE Renames Transliterator to SS_Transliterator 2012-06-15 15:54:47 +12:00
ValidationException.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
ValidationResult.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
Versioned.php BUGFIX: Allow Versioned::get_latest_version() and Version::get_version() to return results if the classname has changed. 2012-06-28 13:00:40 +12:00