6.0.0-alpha12
6/9/25

[#6924] trean: errors with Horde 3.2: Folders must be DataTreeObject_Folder objects
Summary trean: errors with Horde 3.2: Folders must be DataTreeObject_Folder objects
Queue Trean
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester felilx.leimbach (at) gmx (dot) net
Created 06/14/2008 (6204 days ago)
Due
Updated 06/15/2008 (6203 days ago)
Assigned 06/14/2008 (6204 days ago)
Resolved 06/15/2008 (6203 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/15/2008 05:00:38 PM Chuck Hagenbuch State ⇒ Resolved
 
06/15/2008 04:43:33 PM felilx (dot) leimbach (at) gmx (dot) net Comment #6 Reply to this comment
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't make a difference



Thanks Chuck and Michael for the fast responses and the great software :)
06/14/2008 10:56:14 PM Michael Rubinsky Comment #5 Reply to this comment
...and as an aside, Trean evidently does not currently work with guest access.
06/14/2008 10:48:20 PM Michael Rubinsky Comment #4 Reply to this comment
I'm not having any issues with my Trean install - Michael, is this
possibly something that needs Horde 3.2.1's fixes?
I doubt it...Trean still uses it's own, separate share driver.  I'm 
not sure what's causing the blank folder issues off hand, but the 
fatal in the upgrade script is being thrown because it's not executing 
with a "real" logged in user.  When base.php loads, it's looking for 
the logged in user's defaut share...when it doesn'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't have a 
user...let's see where we can get to with the upgrade now....


06/14/2008 10:47:41 PM CVS Commit Comment #3 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/trean/lib/base.php?r1=1.40&r2=1.41&ty=u
06/14/2008 08:54:20 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
I'm not having any issues with my Trean install - Michael, is this 
possibly something that needs Horde 3.2.1's fixes?
06/14/2008 06:38:33 PM felilx (dot) leimbach (at) gmx (dot) net Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ trean: errors with Horde 3.2: Folders must be DataTreeObject_Folder objects
Queue ⇒ Trean
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
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 
"[somepath]/trean/lib/base.php"]



=> How to get the SQL-upgrade done?

=> It would be OK to just delete all bookmark data from the datastore 
and re-import from a bookmark.html (which I have)

Saved Queries