CakePHP

Notes:

Release Name: 0.10.7.1856

Notes:
The RC process moves fast, mainly because the API is stabilized and most major bugs have been worked out.
We did secretly sneak some new features in though.
See if you can find out what they are.
First one gets a gold star.

The Cake Software Foundation would also like to invite people to start a CakeForge Private Account for developing their client projects.
We realize that setting up your own gforge can be a difficult process, but having SVN and a place to track bugs is invaluable.
So, for $30/month you can create a private account which cannot be accessed by anyone other than the project developers.
100% of the fee goes towards the development of CakePHP and projects of the Cake Software Foundation.
If you would like to contribute in another way go here:
http://cakephp.org/pages/contribute


Changes: Added fix to Model class so that setting var $useTable = false; will not try to create a datasource connection. Added fix to basics.php in the file_put_contents function that would give a Warning :failed to open stream: File exists. This fix allows the file to be wrote to if it already exists. Added fix for undefined notice in DboSource::generateAssociationQuery(); Added Model::$keyToTable to map foreign keys to thier proper tables so scaffold could work with them properly. Fixed Controller::__generateAssociation() to use Model::$keyToTable. Fixed layout issue with show view in scaffold. Added DataSource::buildSchemaQuery() which must be implemented in the child classes. This will be used to import a table schema. Added DboMysql::buildSchemaQuery() Added fix for Ticket #304 by reverting change made in [1825]. Reopened Ticket #286 Added fix for Ticket #310 Added fix for PHP Fatal error: Call to a member function on a non-object in... Controller::generateFieldNames() in PHP 4 when using a HABTM association. Added fix for duplicate alias name being added to fields passed the the Model methods, when a field already was aliased Example: Post.id will no longer return Post.Post.id. Fixing references. Adding fix for errors when using scaffold. On some version of PHP 4 some people where getting Call to member function on non-object... in Controller::generateFieldNames() at line 494. Fixed call to get_class_methods that was using the name of the class and not the instance of the class, this would cause a Wrong datatype for second argument... Adding changes to DboSource::generateAssociationQuery and DboSource::conditions() noted in Ticket #301. Added param $allowed to Sanitize::paranoid() this array will allow passing characters that you do not want removed in the string. Modified Sanitize::paranoid() to check an array. Modified Model::findNeighbours() setting param $conditions to null by default. Added fix for Ticket #294 Added fix to scripts/acl.php changed DboSource::fields() to use the count() one time instead of using it in the for loop also Merging changes made in model_php5.php to model_php4.php Adding fix for PHP 5 when using mysql_connect setting. Commented out the call to Dbo*::disconnect(). This was closing connections early. Adding fixe for Ticket #302. Adding Enhancement for Ticket #300. Adding fix for Ticket #299 Adding Enhancement for Ticket #298 Adding fix for Ticket #297 Adding Enhancement/Patch from Ticket #296 working on deeper recursive joins Updating copyright information in all files Adding fix when setting a field value to 0. Before it would set this to NULL, which was not expected result.