Closed (cannot reproduce)
Project:
ZipCart
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2011 at 12:03 UTC
Updated:
17 Oct 2012 at 11:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
Matthias Lersch commentedComment #2
Matthias Lersch commentedComment #3
xurizaemonThanks Matthias. Call me OCD if you will but I like one fix per issue :)
I'm going to break your patch into three, move #1144436 there, split the extra header into its own issue, and make this one the AJAX fix.
* #1144436: Block's download count doesn't remain on page refresh. (already existed)
* #1226582: Anonymous users not able to add items to cart via AJAX (this issue!)
* #1228402: Add Content-Type header - open download in correct application (just created)
Comment #4
xurizaemonTo reproduce this issue (anonymous users unable to add to cart) -
1. Visit site as anonymous user in browser A. Add to cart.
2. Visit site as anonymous user in browser B. Add to cart link will not work, with result "Unable to add the file to your ZipCart".
Comment #5
xurizaemonMy patch from #3 doesn't seem to fix this issue, though.
Matthias, can you please see if I left some of the changes from your original issue patch behind?
Comment #6
xurizaemonoops
Comment #7
Matthias Lersch commentedThe patch in #3 is just one part, the basic changes for this problem is in the patch you added unter #1228402: Add Content-Type header - open download in correct application
-function zipcart_filterzip(&$files) {
+function zipcart_filterzip($files) {
Comment #8
xurizaemonseems to be working, probably fixed months ago! thanks