01196: CSVInclude: All other attached files does not work

Summary: CSVInclude: All other attached files does not work
Created: 2010-05-23 04:49
Status: Open
Category: Cookbook
Assigned:
Priority: 3
Version:
OS: 4.4.4

Description: I have a website currently running which have some attached pictures on many pages to illustrate the content.

If I add the "CSVinclude" recipe to my cookbook, all attachment does not work anymore.

Picture attachment shows a link, instead of the picture, that links to the attachment list page.

File attachment links also goes to the attachment list page.

If you click on the file in the attachment list page, you can view the file and picture.

I have no way to contact the maintainer, so I decided to post here.

Hello. Make sure you define all UploadsAdmin variables like $UploadPrefixFmt before including the CSVinclude recipe. If it still doesn't work, are you sure there is not some other recipe or configuration that is the problem? Can we look at the wiki? --Petko May 23, 2010, at 07:17 AM

Well uploads work right now pretty well, so variables should have been setup correclty. It's just when I add the cvsinclude that all previous upload does not work. It's is probably related to display since the files are still attached and accessible.

Since the cvsinclude recipe is a very small file, I can always attempt to isolate the code that creates the problem. I could also post the code here if you want.

The website can be found here, but cvsinclude is not activated, so you will not see the bug. But the bug is simple, replaced any pictures in a page with an "attach:filename" link that links to the uploads list page.

[(approve links) edit diff]

hope it helps

I cannot reproduce this problem it works for me. I would probably look for another recipe or special configuration that messes things up. --Petko May 24, 2010, at 11:17 AM