We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

"File Already Exists" error needs a re-write

Developer Preview

Kurt Deutscher's avatar
Kurt Deutscher
827 posts
14 years ago
Kurt Deutscher's avatar Kurt Deutscher

Just uploaded the first image to a brand new install of EE with empty files and got this error:

File Already Exists A file with that filename already exists. You can either choose a new name and the file will be renamed, or you can use the same name and the existing file will be overwritten.

The file didn’t already exist, but it did have a image title of:

Block 49 night rendering.jpg

with spaces and all.

The file did need renaming, but not for the reasons stated in the error, so the error was misleading in this case.

The good news is that this will prevent our clients from using file names with spaces, but we’ll either need a second error message to display when file name formatting is really the issue, or combing that information into the existing error.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
14 years ago
Sue Crocker's avatar Sue Crocker

Hi, Kurt. That’s a bug.

In earlier builds I uploaded files with spaces in them all the time. I’ll report it as a bug, thanks for mentioning it.

ETA: Reported internally as EE-1073.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
14 years ago
Sue Crocker's avatar Sue Crocker

Hi, Kurt. Fixed in a new build from today.

       
Kurt Deutscher's avatar
Kurt Deutscher
827 posts
14 years ago
Kurt Deutscher's avatar Kurt Deutscher

OH… is that build where I can get my hands on it, or is it staff-only? If I can, I’ll up date our test copy too.

Thanks for the heads up.

       
Wes Baker's avatar
Wes Baker
343 posts
14 years ago
Wes Baker's avatar Wes Baker

Kurt, we’re looking at sending out a new dev build sometime before the 2.2 release, most likely this week.

Wes

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.