4873 Posts in 4873 Topics by 1459 members
|Go to End|
11 May 2010 at 10:03pm Last edited: 18 May 2010 4:09am
applied the patches from http://open.silverstripe.org/ticket/5547 to a fresh SS 2.4 installation. Seems not enough, upload works but
1. the image goes into assets instead of assets/Uploads
2. the image gets it's extension stripped, so it's not myimage.gif but myimage
Should I download cms/code/AssetAdmin.php, sapphire/filesystem/Folder.php and Upload.php from the trunk instead?
Or do I need to tweak some settings?
I got #1 - upload into Uploads folder - working now by doing a DB-update (look for new files). Remains #2 the lost extension - no one else have this problem?
#2: resolved: it has been described in ticket #5547, but is easily overlooked: trunk and branch 2.4 differ in how they treat file extensions in Folder::addUploadToFolder. Keep that in mind when applying sapphire-fileupload.patch to the stable 2.4 release.
|Go to Top|