Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2002 - 2004 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

#330 fixed getdata/ons timezone not recognised on non-British servers dread dread

Reported by dread, 4 years ago.

Description

The python time module is supposed to recognise timezones such as 'UTC', 'GMT' and 'BST' using the %Z parameter. This works fine on British installs, but the buildbot (for example) gives this error:

DateConvertError?: Could not read date as ISO format "%a, %d %b %Y %H:%M:%S %Z". Date provided: "Mon, 04 Jan 2010 09:30:00 BST"

It turns out that it only recognises local names of timezones.

The ONS import doesn't care much about timezone, so we should just ignore it, avoiding these problems.

#894 invalid harvest from http://locationmetadataeditor.data.gov.uk/geonetwork/srv/csw wwaites wwaites
Note: See TracQuery for help on using queries.