Digital goods file names in 7.0.2 not compatible

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Digital goods file names in 7.0.2 not compatible

Post by AbleMods » Tue Mar 31, 2009 11:09 am

It seems a significant change was made in 7.0.2 such that digital goods file names could not contain spaces.

However this was possible in previous versions.

Now when I upload an updated ZIP file, it gives it a different file name on the server by substituting underscores for spaces. This makes it a new file and thus my original digital good does not get overwritten. I can no longer update my digital goods.

Is there any other way to fix this without having to de-associate every single digital good, upload to the new filename format and reassociating each one to the store product?

That's a huge pain. I'm not even sure why it changed in the first place. I never had a problem with file names nor did any of my customers ever report one.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Digital goods file names in 7.0.2 not compatible

Post by mazhar » Tue Mar 31, 2009 11:36 am

I have reported the issue in bugs.

MarcD
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Mon Aug 11, 2008 10:26 am

Re: Digital goods file names in 7.0.2 not compatible

Post by MarcD » Fri Apr 03, 2009 10:26 am

Thanks for making the bug report. I'm assuming this is it: http://bugs.ablecommerce.com/show_bug.cgi?id=7897

You may already be aware of this part too, but other characters that were allowed in file names in earlier versions of AC (such as apostrophes) seem to create issues with access to the file view because the apostrophes create unclosed quotation mark errors when loading the DigitalGoodsFiles.aspx page.

To fix those issues at present, it seems that you have to remove the digital good and file from inside the standard view and then add it back in appropriately named and reassociate the file/digital good with the necessary store items (being careful not affect any existing orders).

Until you clear out all of those issues, you cannot access the file view which seems to create a secondary issue of not being able to add files over the 4MB .net upload limit.

Hope that helps.

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Digital goods file names in 7.0.2 not compatible

Post by sohaib » Sat Apr 04, 2009 2:47 am

MarcD wrote: a secondary issue of not being able to add files over the 4MB .net upload limit.
This one we will probably never be tackling in AC. For uploading files larger than 4MB one needs to be using FTP. Web-based uploads have limits. Webservers (and the HTTP protocol) are not designed for this kind of file transfers. This is exactly why there is a 4MB limit in IIS for file uploads.

MarcD
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Mon Aug 11, 2008 10:26 am

Re: Digital goods file names in 7.0.2 not compatible

Post by MarcD » Sat Apr 04, 2009 6:21 am

Absolutely...sorry for the confusion. I just meant you couldn't use the store feature inside the file view to attach the files to digital goods until the misnamed files were renamed properly. I apologize if I'm confused on that, but it looks like, after the upgrade, the only way to add in/attach the larger files to the digital goods (once they are already uploaded to the digital goods folder) is to use the file view page.

We ran into that issue due to a file with an apostrophe in it sitting in the digital goods folder. We were able to delete the digital good through AC and copy it back over (via FTP) renamed properly. Once we did that, the file view page was available again. If we had a file in the digital goods folder with an apostrophe it caused the DigitalGoodsFiles.aspx page to throw a quotation mark error.

Completely a bad file naming issue on our end, but I thought it was worth passing on.

Thank you for all the hard work you guys are putting in.

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Digital goods file names in 7.0.2 not compatible

Post by Logan Rhodehamel » Wed Apr 15, 2009 9:02 pm

What characters do you commonly use in file names? Perhaps we made it a touch too restrictive.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Digital goods file names in 7.0.2 not compatible

Post by AbleMods » Wed Apr 15, 2009 9:11 pm

Logan_AbleCommerce wrote:What characters do you commonly use in file names? Perhaps we made it a touch too restrictive.
For me, I use spaces and dashes. I think it's the spaces causing the grief in my case...
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

MarcD
Ensign (ENS)
Ensign (ENS)
Posts: 7
Joined: Mon Aug 11, 2008 10:26 am

Re: Digital goods file names in 7.0.2 not compatible

Post by MarcD » Thu Apr 16, 2009 12:46 pm

Mainly spaces and underscores. We had a few apostrophes that we removed. The apostrophe was the main source of our problem.

Post Reply