cakephp2-php8/lib/Cake/Test/Case/Model
mark_story cbf3228c34 Fix inconsistent name/alias usage.
TranslateBehavior should always use name instead of alias when
creating/updating/saving new translate records. It already uses name
when finding translations and the mismatch was causing translations to
not be found when saved from an aliased model.

Thanks to Joost de Keijzer for providing the initial patch.

Fixes #3865
2013-06-02 13:50:23 -04:00
..
Behavior Fix inconsistent name/alias usage. 2013-06-02 13:50:23 -04:00
Datasource Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
Validator Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
AclNodeTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
BehaviorCollectionTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
CakeSchemaTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ConnectionManagerTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelCrossSchemaHabtmTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelDeleteTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelIntegrationTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelReadTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
models.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelTestBase.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelValidationTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00
ModelWriteTest.php Improved the DocBlocks and other code cleanup 2013-05-31 00:11:19 +02:00