<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1347: Exception caused by New Group form POST with bad formed parameter</title>
    <link>http://localhost/ticket/1347</link>
    <description>&lt;p&gt;
Exception caused by bots POSTing 'new group' form, but with bad (old-style) parameters.
&lt;/p&gt;
&lt;pre class="wiki"&gt;&amp;lt;type 'exceptions.ValueError'&amp;gt;: invalid literal for int() with base 10: 'cache'
...
Module ckan.controllers.group:102 in new
&amp;lt;&amp;lt;          if context['save'] and not data:
                   return self._save_new(context)
               data = data or {}
&amp;gt;&amp;gt;  return self._save_new(context)
Module ckan.controllers.group:152 in _save_new
&amp;lt;&amp;lt;          try:
                   data_dict = clean_dict(unflatten(
                       tuplize_dict(parse_params(request.params))))
                   context['message'] = data_dict.get('log_message', '')
                   group = create.group_create(data_dict, context)
&amp;gt;&amp;gt;  tuplize_dict(parse_params(request.params))))
Module ckan.logic:57 in tuplize_dict
&amp;lt;&amp;lt;          for num, key in enumerate(key_list):
                   if num % 2 == 1:
                       key_list[num] = int(key)
               tuplized_dict[tuple(key_list)] = value
           return tuplized_dict
&amp;gt;&amp;gt;  key_list[num] = int(key)
ValueError: invalid literal for int() with base 10: 'cache'
&lt;/pre&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/1347</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Thu, 15 Sep 2011 13:50:08 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1347#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1347#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&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;
Fixed on cset:7c3cc0fd6ae4 on branch release-v1.4.3.1.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>