gunnar: server/patches/horde HK-GW-framework_3.2_ALPHA-Kolab_issue_2144.patch, NONE, 1.1 README_Kolab_issue_2144.patch, NONE, 1.1

cvs at kolab.org cvs at kolab.org
Thu Nov 1 11:07:47 CET 2007


Author: gunnar

Update of /kolabrepository/server/patches/horde
In directory doto:/tmp/cvs-serv25454

Added Files:
	HK-GW-framework_3.2_ALPHA-Kolab_issue_2144.patch 
	README_Kolab_issue_2144.patch 
Log Message:
Fix for kolab/issue2144 (Calendar items of shared calendar not appearing)

--- NEW FILE: HK-GW-framework_3.2_ALPHA-Kolab_issue_2144.patch ---
kolab/issue2144 (Calendar items of shared calendar not appearing)

diff -r dd49e5f044aa framework/Share/Share/kolab.php
--- a/framework/Share/Share/kolab.php	Wed Oct 10 14:22:14 2007 +0200
+++ b/framework/Share/Share/kolab.php	Thu Nov 01 10:59:06 2007 +0100
@@ -343,7 +343,8 @@ class Horde_Share_Storage_kolab {
                 // name.
                 $type = explode('.', $annotation);
                 if ($type[0] == $app_consts['mime_type_suffix']) {
-                    if (isset($type[1]) && $type[1] == 'default') {
+                    if (isset($type[1]) && $type[1] == 'default' &&
+                        substr($folder, 0, 6) == 'INBOX/' && !$this->_default) {
                         $this->_default = $folder;
                         array_push($shares, $this->buildShareId(Auth::getAuth()));
                     } else {

--- NEW FILE: README_Kolab_issue_2144.patch ---
DESCRIPTION:

Fixes kolab/issue2144 (https://www.intevation.de/roundup/kolab/issue2144)

IMPACT:

If users share their default folders this will break the other users shares.

REFERENCES:

Mercurial patch repository:

http://hg.pardus.de/cgi-bin/hg.cgi/horde/HORDE_3_2_ALPHA/summary

HISTORY

Applied upstream.





More information about the commits mailing list