<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/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>Fri, 10 Apr 2026 16:31:15 +0000</pubDate> 
  <link>https://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="https://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&#039;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 11:59:59 +0000</pubDate> 
   <link>https://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 14:09:21 +0000</pubDate> 
   <link>https://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 14:11:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5211#t43836</link> 
  </item> 
   
  <item> 
   <title>I&#039;m a bit hesitating to hardcode the limit inside the SQL co</title> 
   <description>I&#039;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 14:21:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5211#t43838</link> 
  </item> 
   
  <item> 
   <title>I would guess single digits.</title> 
   <description>I would guess single digits.</description> 
   <pubDate>Sun, 16 Mar 2008 03:13:16 +0000</pubDate> 
   <link>https://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 23:49:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5211#t44341</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
