6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/14/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14019] Folder rename via activesync is broken
*
Your Email Address
*
Spam protection
Enter the letters below:
. .. . .. . . \ /| |_/ | | | \/ |___| \|___|/\|
Comment
> I get these messages when renaming or moving a folder from Outlook2013: > > 2015-06-10T16:42:09+02:00 WARN: HORDE PHP ERROR: unserialize() > expects parameter 1 to be string, resource given [pid 17446 on line > 185 of > "/var/www/html/php/horde5-pear/pear/php/Horde/ActiveSync/State/Sql.php"] > 2015-06-10T16:42:09+02:00 EMERG: HORDE Call to a member function > setServerId() on a non-object [pid 17446 on line 186 of > "/var/www/html/php/horde5-pear/pear/php/Horde/ActiveSync/State/Sql.php"] > > Folder rename works, but as a new folder after a foldersync, with > every message downloaded again. > > Problem is in "updateServerIdInState" function in > "Horde/ActiveSync/State/Sql.php" file. > Unserialize of "sync_data" can't be done with: > $folder = unserialize($folder); > at least using PostgreSQL as I do. I've found somewhere else this other way: > $folder = > unserialize($columns['sync_data']->binaryToString($result['sync_data'])); > > And also, "sync_key" (primary key in "horde_activesync_state" table) > is not taken into account in this code. I think you should get every > "sync_key" (primary key) and update its "sync_data", to avoid mixing > "sync_data" from several sync processes. > > A patch is attached to clarify.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers