Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (706 - 708 of 2152)

Ticket Resolution Summary Owner Reporter
#2500 fixed get_action should raise an exception if the action requested doesn't exist ross icmurray

Reported by icmurray, 2 years ago.

Description

Original bug report:

Hi CKAN devs,

Can I request that ckan.logic.get_action raises an exception if the action requested doesn't exist?

Two of us had a frustrating time tracking down an exception this morning. It's difficult when the exception is raised in python in a template because you don't get a line number. The problem was caused by a new logic function being added to another extension, and we hadn't updated the code there. So if get_action raised an proper exception rather than silently returning None then I think we'd have found the problem quicker.

I'd write the code for this, but as I understand that the new system would require a ticket, branch, pull request, code review, merge. It seems a lot to do for such a small thing.

Dave

#2544 duplicate facet.sort is not available in the package_search action icmurray

Reported by icmurray, 23 months ago.

Description

Not all solr facet parameters are available through the pcakage_search action. In particular, facet.sort has been asked for; but this ticket should check to see if there are other parameters that would be easy to add too.

See: http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort

#2672 fixed Session.is_modified should use passive=True icmurray icmurray

Reported by icmurray, 22 months ago.

Description

According to sqlalchemy docs [1], when calling Session.is_modified(), the passive argument needs to be passed in as True.

[1] http://docs.sqlalchemy.org/en/rel_0_7/orm/session.html?highlight=is_modified#sqlalchemy.orm.session.Session.is_modified

Note: See TracQuery for help on using queries.