<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #2500: get_action should raise an exception if the action requested doesn't exist</title>
    <link>http://localhost/ticket/2500</link>
    <description>&lt;h2 id="Originalbugreport:"&gt;Original bug report:&lt;/h2&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Hi CKAN devs,
&lt;/p&gt;
&lt;p&gt;
Can I request that ckan.logic.get_action raises an exception if
the action requested doesn't exist?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
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.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
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.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Dave
&lt;/p&gt;
&lt;/blockquote&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/2500</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>ross</dc:creator>

      <pubDate>Wed, 13 Jun 2012 10:58:53 GMT</pubDate>
      <title>status changed; owner set</title>
      <link>http://localhost/ticket/2500#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/2500#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;ross&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;accepted&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ross</dc:creator>

      <pubDate>Thu, 21 Jun 2012 13:48:52 GMT</pubDate>
      <title>priority changed</title>
      <link>http://localhost/ticket/2500#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/2500#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;awaiting triage&lt;/em&gt; to &lt;em&gt;awaiting merge&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>icmurray</dc:creator>

      <pubDate>Thu, 21 Jun 2012 15:47:16 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/2500#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/2500#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;accepted&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>