<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>Importing event with category name &gt; 80 char fails</title>
  <pubDate>Sat, 05 Jul 2008 19:37:14 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/5211</link>
  <atom:link rel="self" type="application/rss+xml" title="Importing event with category name &gt; 80 char fails" href="http://bugs.horde.org/ticket/5211/rss" />
  <description>Importing event with category name &gt; 80 char fails</description>

  
  
  <item>
   <title>Hello
In the kronolith_events table, the field event_catego</title>
   <description>Hello
In the kronolith_events table, the field event_category is defined as VARCHAR(80). But in kronolith/lib/Driver.php, the setCategory() function doesn't check the size of $category. So importing or synchronizing events having a category name greater than 80 char fails (DB Error: unknown error).
A workaround is to reduce the $category to 80 char.

Regards
Patrick</description>
   <pubDate>Wed, 04 Apr 2007 07:59:59 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5211#t31101</link>
  </item>
  <item>
   <title>Which database do you use? MySQL seems to truncate the categ</title>
   <description>Which database do you use? MySQL seems to truncate the category automatically.</description>
   <pubDate>Fri, 14 Mar 2008 10:09:21 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5211#t43835</link>
  </item>
  <item>
   <title>PostGreSQL

&gt; Which database do you use? MySQL seems to tr</title>
   <description>PostGreSQL

&gt; Which database do you use? MySQL seems to truncate the category 
&gt; automatically.
</description>
   <pubDate>Fri, 14 Mar 2008 10:11:31 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5211#t43836</link>
  </item>
  <item>
   <title>I'm a bit hesitating to hardcode the limit inside the SQL co</title>
   <description>I'm a bit hesitating to hardcode the limit inside the SQL code. It would of course be possible to cut off the categories at 80 chars. OTOH, how many people really do change the default SQL scheme that we provide with Kronolith?</description>
   <pubDate>Fri, 14 Mar 2008 10:21:40 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5211#t43838</link>
  </item>
  <item>
   <title>I would guess single digits.</title>
   <description>I would guess single digits.</description>
   <pubDate>Sat, 15 Mar 2008 23:13:16 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5211#t43859</link>
  </item>
  <item>
   <title>Alright, we cut them off at 80 chars now.</title>
   <description>Alright, we cut them off at 80 chars now.</description>
   <pubDate>Wed, 02 Apr 2008 19:49:33 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/5211#t44341</link>
  </item>
  

 </channel>
</rss>
