I updated from 1.0beta4 to 1.0, I updated the xls and csv setting with "Provide as file" enabled, I cleaned the cache...but the result is that both type of files display in the browser as text and aren't downloadable, I think correct headers miss.

Comments

bealdav’s picture

It's the same for me

neclimdul’s picture

The only way I was able to recreate this was with older versions of views prior to the addition of caching support. Can you post the version of views you where using and attach an export of the view or a simplified view that has the same problem?

neclimdul’s picture

Status: Active » Needs review
StatusFileSize
new2.37 KB

possible patch to support older versions of views as well as post 2.6 versions.

frayber’s picture

My Views version is 2.6 and drupal core 6.14. Tomorrow I'll try the patch and I'll tell you if it works.
Thank you!

frayber’s picture

Yes, it works for me!
Thank you!

neclimdul’s picture

Status: Needs review » Reviewed & tested by the community

makes sense. looking at the changelog, post_render was actually added in 2.7. No harm in supporting older releases like this I guesses. Will commit a little later.

neclimdul’s picture

Status: Reviewed & tested by the community » Fixed

Committed.

jdwfly’s picture

New release needs to be made. Many people are not upgrading views to 2.8 because it will brake their sites.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

span’s picture

Just thought I'd give this one a heads up after spending an hour trying to figure out why I didn't get a CSV file. Downgrading to Beta4 did the job.