Gossamer Forum
Home : Products : Gossamer Links : Discussions :

delete file bug

Quote Reply
delete file bug
Hi there,

I just tried deleting a link containing an uploaded file. The filename had spaces when uploaded. The server stored those spaces as %20 as in my%20filename.jpg

When I went to delete it through browse I got an error saying that the filename couldn't be unlinked because it didn't exist. I tried it again on an upload without spaces and it worked fine.

thought you should know.
peace.
klangan
Quote Reply
Re: [klangan] delete file bug In reply to
Thanks for reporting this, I'll take a look at it when I get a chance.

Adrian
Quote Reply
Re: [klangan] delete file bug In reply to
Quote:
When I went to delete it through browse
Is that on the user side or the admin side (the category browser, or through the database search/delete/etc)?

Adrian
Quote Reply
Re: [brewt] delete file bug In reply to
I did more testing and found it occurred when deleting a link that had an uploaded file field that contained spaces. In both the admin and the admin->browse sections.

In most cases, it doesn't return an error, but I'm running a plugin and the error message comes up in the javascript box.

In any case, I looked on the server and found that when I deleted the link and it contained a filename with spaces in it, the file was not deleted. However, when modifying the link and and selecting the delete option. That did delete the file.


hope that helps.

peace.
Quote Reply
Re: [klangan] delete file bug In reply to
Look here:
http://www.gossamer-threads.com/...orum.cgi?post=284376