<?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>trean: errors with Horde 3.2: Folders must be DataTreeObject_Folder objects</title> 
  <pubDate>Fri, 10 Apr 2026 14:49:34 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6924</link> 
  <atom:link rel="self" type="application/rss+xml" title="trean: errors with Horde 3.2: Folders must be DataTreeObject_Folder objects" href="https://bugs.horde.org/ticket/6924/rss" /> 
  <description>trean: errors with Horde 3.2: Folders must be DataTreeObject_Folder objects</description> 
 
   
   
  <item> 
   <title>I used horde-3.1 with a trean-cvs snapshot from 2006 and it </title> 
   <description>I used horde-3.1 with a trean-cvs snapshot from 2006 and it worked nicely.

Now after upgrading to horde-3.2 I upgraded the trean-cvs snapshot to 2008.06.14 only folders are displayed but they all are empty! I.e. the bookmarks are gone.



So I found the sql-upgrade scripts in the scripts/upgrades folder, but they both error out:

# php 2006-12-29_sql_bookmarks.php

A fatal error has occurred

Folders must be DataTreeObject_Folder objects or extend that class.

Details have been logged for the administrator.



In the log: [trean] Folders must be DataTreeObject_Folder objects or extend that class. [pid 10036 on line 81 of &quot;[somepath]/trean/lib/base.php&quot;]



=&gt; How to get the SQL-upgrade done?

=&gt; It would be OK to just delete all bookmark data from the datastore and re-import from a bookmark.html (which I have)</description> 
   <pubDate>Sat, 14 Jun 2008 18:38:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6924#t46465</link> 
  </item> 
   
  <item> 
   <title>I&#039;m not having any issues with my Trean install - Michael, i</title> 
   <description>I&#039;m not having any issues with my Trean install - Michael, is this possibly something that needs Horde 3.2.1&#039;s fixes?</description> 
   <pubDate>Sat, 14 Jun 2008 20:54:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6924#t46477</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/trean/lib/base.php?r1=1.40&amp;r2=1.41&amp;ty=u</description> 
   <pubDate>Sat, 14 Jun 2008 22:47:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6924#t46481</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;m not having any issues with my Trean install - Michael,</title> 
   <description>&gt; I&#039;m not having any issues with my Trean install - Michael, is this 

&gt; possibly something that needs Horde 3.2.1&#039;s fixes?



I doubt it...Trean still uses it&#039;s own, separate share driver.  I&#039;m not sure what&#039;s causing the blank folder issues off hand, but the fatal in the upgrade script is being thrown because it&#039;s not executing with a &quot;real&quot; logged in user.  When base.php loads, it&#039;s looking for the logged in user&#039;s defaut share...when it doesn&#039;t find it (since we are a guest), it tries to create it. Again, since we are a guest, it fails and then fatals out.



I fixed base.php to not perform that check if we don&#039;t have a user...let&#039;s see where we can get to with the upgrade now....

</description> 
   <pubDate>Sat, 14 Jun 2008 22:48:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6924#t46482</link> 
  </item> 
   
  <item> 
   <title>...and as an aside, Trean evidently does not currently work </title> 
   <description>...and as an aside, Trean evidently does not currently work with guest access.</description> 
   <pubDate>Sat, 14 Jun 2008 22:56:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6924#t46483</link> 
  </item> 
   
  <item> 
   <title>Michael: Your patch fixes the scripts and after running them</title> 
   <description>Michael: Your patch fixes the scripts and after running them successfully the empty folder issue is gone, too! All is perfect now.



Chuck: Upgrading to Horde-3.2.1 didn&#039;t make a difference



Thanks Chuck and Michael for the fast responses and the great software :)</description> 
   <pubDate>Sun, 15 Jun 2008 16:43:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6924#t46497</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
