Ingo Schommer c82f0335f0 API CHANGE Don't reflect changes in File and Folder property setters on filesystem before write() is called, to ensure that validate() applies in all cases. This fixes a problem where File->setName() would circumvent restrictions in File::$allowed_extensions (fixes #5693)
API CHANGE Removed File->resetFilename(), use File->updateFilesystem() to update the filesystem, and File->getRelativePath() to just update the "Filename" property without any filesystem changes (emulating the old $renamePhysicalFile method argument in resetFilename())
API CHANGE Removed File->autosetFilename(), please set the "Filename" property via File->getRelativePath()
MINOR Added unit tests to FileTest and FolderTest (some of them copied from FileTest, to test Folder behaviour separately)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@107273 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:19:34 +13:00
2011-02-02 14:19:15 +13:00
2009-01-07 23:00:54 +00:00
2011-02-02 14:19:27 +13:00
2011-02-02 14:19:15 +13:00
2009-04-28 23:52:15 +00:00
2011-02-02 14:19:15 +13:00
2009-03-22 22:59:14 +00:00
2007-12-14 04:35:28 +00:00
Description
No description provided
162 MiB
Languages
PHP 99.4%
Scheme 0.5%