<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1053: Deletion in Model API</title>
    <link>http://localhost/ticket/1053</link>
    <description>&lt;p&gt;
Currently in the API if you DELETE a package/group/user (and you have the required permissions) then it purges the object, when it should probably just set the state to deleted.
&lt;/p&gt;
&lt;p&gt;
There is no way to delete objects at the moment - changes to 'state' are ignored in the API.
&lt;/p&gt;
&lt;p&gt;
Do we need an alternative way to purge objects in the API?
&lt;/p&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/1053</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Mon, 04 Apr 2011 09:35:34 GMT</pubDate>
      <title>milestone set</title>
      <link>http://localhost/ticket/1053#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1053#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;ckan-v1.4-sprint-5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Mon, 11 Apr 2011 08:36:06 GMT</pubDate>
      <title>status, milestone changed; owner set</title>
      <link>http://localhost/ticket/1053#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1053#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              set to &lt;em&gt;dread&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;assigned&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-v1.4-sprint-5&lt;/em&gt; to &lt;em&gt;ckan-v1.4-sprint-6&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Wed, 27 Apr 2011 08:53:12 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/1053#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1053#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-v1.4-sprint-6&lt;/em&gt; to &lt;em&gt;ckan-v1.4-sprint-7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Mon, 16 May 2011 09:26:10 GMT</pubDate>
      <title>milestone changed; state set</title>
      <link>http://localhost/ticket/1053#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1053#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;state&lt;/strong&gt;
                set to &lt;em&gt;draft&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-v1.4-sprint-7&lt;/em&gt; to &lt;em&gt;ckan-v1.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>thejimmyg</dc:creator>

      <pubDate>Fri, 08 Jul 2011 11:44:04 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1053#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/1053#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&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;
        &lt;p&gt;
This is now fixed as part of the API refactor and revisioning updates David Raznick has done.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Fri, 08 Jul 2011 12:02:26 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1053#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/1053#comment:6</guid>
      <description>
        &lt;p&gt;
Looks to me like DELETE always changed the state to Deleted, so an invalid ticket.
&lt;/p&gt;
&lt;p&gt;
We can deal with purging in another ticket if needed.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>