Omnimaga

Omnimaga => News => Topic started by: DJ Omnimaga on July 01, 2011, 02:26:42 am

Title: Duplicate attachment file name glitch fixed
Post by: DJ Omnimaga on July 01, 2011, 02:26:42 am
A lot of people will probably be pleased to learn that it is now possible to upload attachments using file names that were already used before on the forums. When updating to Simplemachines 1.1.8 in Early 2009, we lost the ability to disable encrypted attachment file names, but for some reasons, the SMF team did not plan anything to re-allow duplicate attachment name uploads, despite forcing encrypted names since then. Recently we learned that we could edit the old option in the MySQL database, to allow duplicate names.

It especially made things worse because once uploading failed, clicking back then trying again would also fail, regardless of the validity of the upload, so a full page refresh was required.

Hopefully this should be much less hassle for people who want to use common names, as file renaming to things like e3e3dwywe78ey7.jpg or trial and error aren't needed anymore.
Title: Re: Duplicate attachment file name glitch fixed
Post by: Eeems on July 01, 2011, 02:46:13 am
YAY!!!!!!!
This got so annoying :P
Title: Re: Duplicate attachment file name glitch fixed
Post by: DJ Omnimaga on July 01, 2011, 04:06:24 am
Yeah it was. Also in Opera, when clicking post/preview, if I go back afterward, it no longer lets me type because of SMF locking down fields (probably a spam protection). I even remember having to restart the browser to get uploading to work again after an error.
Title: Re: Duplicate attachment file name glitch fixed
Post by: Stefan Bauwens on July 01, 2011, 04:17:46 am
This is nice. Didn't happen too many times with me yet.
Title: Re: Duplicate attachment file name glitch fixed
Post by: Hayleia on July 01, 2011, 04:46:02 am
 :w00t: I had problems with that, especially with this ↓
clicking back then trying again would also fail
Title: Re: Duplicate attachment file name glitch fixed
Post by: mrmprog on July 01, 2011, 10:25:17 am
:w00t: I had problems with that, especially with this ↓
clicking back then trying again would also fail
Me too. I am so glad that this is fixed.
Title: Re: Duplicate attachment file name glitch fixed
Post by: thepenguin77 on July 01, 2011, 11:17:12 am
Thank you so much. Now I can finally just upload a file without trying to figure out if that name has ever been used before. Now, I won't have to tack on "zzz" to my uploads.

I also lost an entire 4 paragraph post the other day due to refresh not working...
Title: Re: Duplicate attachment file name glitch fixed
Post by: mrmprog on July 01, 2011, 11:52:49 am
Ouch, that sort of happened to me (losing a large post) but it was not a super long one.
Title: Re: Duplicate attachment file name glitch fixed
Post by: Hot_Dog on July 01, 2011, 12:19:36 pm
This will be so much easier!  Thanks!
Title: Re: Duplicate attachment file name glitch fixed
Post by: Deep Toaster on July 01, 2011, 12:44:25 pm
YAY!!!!!!!
This got so annoying :P

^ That. I had to submit some posts four or five times until I got it right x.x

Hurrah it's fixed!
Title: Re: Duplicate attachment file name glitch fixed
Post by: yunhua98 on July 01, 2011, 02:21:42 pm
yes!
Title: Re: Duplicate attachment file name glitch fixed
Post by: DJ Omnimaga on July 01, 2011, 02:25:53 pm
Ouch, that sort of happened to me (losing a large post) but it was not a super long one.
In my case, near the end, I clicked back, copied the post content, then refreshed the page and pasted the post again. But I still lost the topic title and stuff.
Title: Re: Duplicate attachment file name glitch fixed
Post by: Deep Toaster on July 01, 2011, 02:35:30 pm
Ouch, that sort of happened to me (losing a large post) but it was not a super long one.
In my case, near the end, I clicked back, copied the post content, then refreshed the page and pasted the post again. But I still lost the topic title and stuff.

I learned to do that. It was annoying.
Title: Re: Duplicate attachment file name glitch fixed
Post by: Juju on July 01, 2011, 03:02:41 pm
Yeah, me too, I often lost large post, but I clicked back then copy-pasted the contents over.
Title: Re: Duplicate attachment file name glitch fixed
Post by: ztrumpet on July 02, 2011, 12:56:34 am
I lost a huge post once due to this, and I'm glad to see it fixed.  Thanks! ;D
Title: Re: Duplicate attachment file name glitch fixed
Post by: Munchor on July 05, 2011, 10:30:26 am
Well, this is certainly awesome, thanks a lot :)