Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (208 - 210 of 2152)

Ticket Resolution Summary Owner Reporter
#2608 wontfix Uploading a file to a resource hangs seanh

Reported by seanh, 22 months ago.

Description

I'm not seeing any javascript or python error, the upload just hangs.

#2606 fixed make fanstatic use full path toby toby

Reported by toby, 22 months ago.

Description

ckan/main not main

#2605 fixed Problem with user.get_groups ross ross

Reported by ross, 22 months ago.

Description

From DR at DGU

Basically get_groups() appears to cache its results, but this falls down when subsequent calls are in a different session. We get this when saving a dataset. get_groups() first gets called in the controller when it is trying to work out what permissions the user has. It later gets called, and by this time c.userobj is detached, so get_groups() fails.

I'm working around this by refreshing c.userobj (from c.user) before calling get_groups(), but I wonder if the get_groups caching could detect the detached session and bypass the cache in this case?

diff at https://gist.github.com/3003117

Note: See TracQuery for help on using queries.