<?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>Constants in Horde_Data need to be refactored to class constants</title> 
  <pubDate>Fri, 10 Apr 2026 09:35:40 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7970</link> 
  <atom:link rel="self" type="application/rss+xml" title="Constants in Horde_Data need to be refactored to class constants" href="https://bugs.horde.org/ticket/7970/rss" /> 
  <description>Constants in Horde_Data need to be refactored to class constants</description> 
 
   
   
  <item> 
   <title>in the kronolith/data.php cause error / notice messages when</title> 
   <description>in the kronolith/data.php cause error / notice messages when we choose the import/export function.



the solution is simply we need include the:

require_once &#039;Horde/Data.php&#039;;

at line 9.



errors was:

Notice: Use of undefined constant IMPORT_CSV - assumed &#039;IMPORT_CSV&#039; in /usr/share/horde/kronolith/data.php on line 36



Notice: Use of undefined constant IMPORT_MAPPED - assumed &#039;IMPORT_MAPPED&#039; in /usr/share/horde/kronolith/data.php on line 37



Notice: Use of undefined constant IMPORT_DATETIME - assumed &#039;IMPORT_DATETIME&#039; in /usr/share/horde/kronolith/data.php on line 38



Notice: Use of undefined constant IMPORT_FILE - assumed &#039;IMPORT_FILE&#039; in /usr/share/horde/kronolith/data.php on line 49



Notice: Use of undefined constant IMPORT_FILE - assumed &#039;IMPORT_FILE&#039; in /usr/share/horde/kronolith/data.php on line 55



Notice: Use of undefined constant IMPORT_FILE - assumed &#039;IMPORT_FILE&#039; in /usr/share/horde/kronolith/data.php on line 187



Notice: Undefined offset: 11 in /usr/share/horde/kronolith/data.php on line 306



Warning: Invalid argument supplied for foreach() in /usr/share/horde/kronolith/data.php on line 306</description> 
   <pubDate>Mon, 09 Feb 2009 22:50:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7970#t52419</link> 
  </item> 
   
  <item> 
   <title>Actually, that class can be autoloaded. The correct fix here</title> 
   <description>Actually, that class can be autoloaded. The correct fix here is to refactor those constants to be class constants.</description> 
   <pubDate>Mon, 09 Feb 2009 23:02:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7970#t52422</link> 
  </item> 
   
  <item> 
   <title>Moving to framework queue since this is an issue with the Da</title> 
   <description>Moving to framework queue since this is an issue with the Data library that needs to be corrected for it to work with Horde 4 / autoloading.</description> 
   <pubDate>Mon, 09 Feb 2009 23:03:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7970#t52423</link> 
  </item> 
   
  <item> 
   <title>The reporter mentioned this was Kronolith 2.3. Which version</title> 
   <description>The reporter mentioned this was Kronolith 2.3. Which version is it?</description> 
   <pubDate>Mon, 09 Feb 2009 23:29:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7970#t52427</link> 
  </item> 
   
  <item> 
   <title>Indeed, I just assumed it was git, since the problem describ</title> 
   <description>Indeed, I just assumed it was git, since the problem described does exist...well, it did exist before I committed the Horde_Data changes.  



A look at kronolith in cvs shows the file is included properly, so I&#039;m going to go ahead and close this.  Feel free to re-open if the problem persists and please be sure to pick the correct version number.</description> 
   <pubDate>Tue, 10 Feb 2009 00:01:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7970#t52430</link> 
  </item> 
   
  <item> 
   <title>&gt; A look at kronolith in cvs shows the file is included prop</title> 
   <description>&gt; A look at kronolith in cvs shows the file is included properly, so 

&gt; I&#039;m going to go ahead and close this.  Feel free to re-open if the 

&gt; problem persists and please be sure to pick the correct version 

&gt; number.



yes it was GIT master. sorry again.

</description> 
   <pubDate>Tue, 10 Feb 2009 00:17:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7970#t52431</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
