[Tickets #5564] Re: problems attaching files when gpg-signing

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Jul 24 12:00:31 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5564
-----------------------------------------------------------------------
 Ticket             | 5564
 Updated By         | adrieder at sbox.tugraz.at
 Summary            | problems attaching files when gpg-signing
 Queue              | IMP
 Version            | HEAD
 Type               | Bug
 State              | Assigned
 Priority           | 3. High
 Owners             | Michael Slusarz
+New Attachment     | Memcache.php.patch
-----------------------------------------------------------------------


adrieder at sbox.tugraz.at (2007-07-24 05:00) wrote:

it is still seqfaulting with your latest changes, and I think found also
some additional problems in the code. The attached patch works for me, and
with this I'm also able to correctly open/download big attachments from gpg
signed messages.

Please not the "TODO" comment. I found that sometimes we get arrays passed
as cache keys, e.g. from horde/services/portal/sidebar.php or
imp/mailbox.php. I added an error logging code to the patch to see what is
in the arrays. Here some examples:

a:2:{i:0;s:27:"perm_exists_imp:max_folders";i:1;s:29:"perm_exists_imp:max_folders_e";
a:2:{i:0;s:34:"perm_exists_turba:sources:localsql";i:1;s:36:"perm_exists_turba:sources:localsql_e";}
a:2:{i:0;s:30:"perm_exists_imp:create_folders";i:1;s:32:"perm_exists_imp:create_folders_e";}

It seems that all of them are deriving from the perms system.

I'm not sure if erverything is correct in this patch, but I hope this
helps to further optimize the memcache driver.



More information about the bugs mailing list