Closed (won't fix)
Project:
Fileshare
Version:
4.7.x-2.0
Component:
AJAX
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2006 at 14:18 UTC
Updated:
27 Apr 2010 at 16:43 UTC
The module (both 4.7.x-2.0 and HEAD as of this date) works fine when logged in, not for anonymous user.
Anonymous user gets "jah error:" (followed by date and time in MSIE, says "jah error: OK" in FF). Permissions are set for anonymous to download files.
Even when give anonymous ALL rights, same error.
Logged in user gets the files just fine, so it does not seem to me to be a java setting.
gil
Comments
Comment #1
Capnj commentedDisabled caching and it works now for anonymous user. Re-enabling the cache instantly repeats the error.
Cache was set to a minimum 6 hours.
Re-enabling and setting minimum to 'none' allows anonymous to get the listing.
Setting to 1 minute, still works.
Setting (again) to 6 hours, still works.
Exit the browser and come back, still works.
So far I'd say a good flushing of the cache was needed. Apparently reducing the minimum time from 6 hours to none is what caused that to happen. I've now set it at (an arbitrary) 5 minutes, uploading additional files, and the listing is dynamically created correctly.
gil
Comment #2
rondev commentedI do the same. I empty the cache (module Devel) after I modified files in Fileshares folders. Then anonymous users can see them correctly.
Ronan
Comment #3
rondev commentedI do the same. I empty the cache (module Devel) after I modified files in Fileshares folders. Then anonymous users can see them correctly.
Ronan
Comment #4
JamieR commentedAnyone have an idea of how to work around this issue? Clearly cached pages don't function well for the fileshare module... is there a way to have the page not cache? Caching and the ajax-ish functionality don't really make sense together.
Comment #5
JamieR commentedComment #6
greensky commentedWhat's needed is a call to clear the cache when items are added or deleted from a fileshare module. I don't know how to clear it for that specific fileshare, but the cache_clear_all() function will clear the cache for your entire site. Ideally you would only clear the cache for the fileshare module you just changed.
Comment #7
rolodmonkey commentedModule abandoned