[debian-edu-commits] debian-edu/pkg-team/ 02/07: debian/patches: Add 1010_fix-entry-removal-in-mail-plugin.patch. Fix entry deletion of items in "alternatives addresses" and "forward messages to non-group members" for group mail objects. (LP:#1307483).

Mike Gabriel sunweaver at debian.org
Mon Aug 24 13:43:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository gosa.

commit 08936e13ac3c40ba5e0d5bc112e4c3b7be5729af
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Aug 24 07:27:07 2015 +0200

    debian/patches: Add 1010_fix-entry-removal-in-mail-plugin.patch. Fix entry deletion of items in "alternatives addresses" and "forward messages to non-group members" for group mail objects. (LP:#1307483).
---
 .../1010_fix-entry-removal-in-mail-plugin.patch    | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/1010_fix-entry-removal-in-mail-plugin.patch b/debian/patches/1010_fix-entry-removal-in-mail-plugin.patch
new file mode 100644
index 0000000..80f264f
--- /dev/null
+++ b/debian/patches/1010_fix-entry-removal-in-mail-plugin.patch
@@ -0,0 +1,30 @@
+Description: Fix entry removal in mail plugin
+Author: eannj <greg at brazcubas.br>
+Abstract:
+ Without this patch, it is not possible to remove entries from
+ "Alternative addresses" or from "Forward messages to non group members"
+ list in "mail" tab of group objects. One selects an address and press
+ "delete" but nothing happens, the page is refreshed but address entry
+ remains. The same operation succeeds for users. It fails only for group
+ objects. The attached patch fixes the issue.
+
+--- a/mail/admin/groups/mail/class_groupMail.inc
++++ b/mail/admin/groups/mail/class_groupMail.inc
+@@ -394,7 +394,7 @@
+             }
+         }
+         if (isset($_POST['delete_forwarder'])){
+-            $this->delForwarder (get_post('forwarder_list'));
++            $this->delForwarder ($_POST('forwarder_list'));
+         }
+ 
+ 
+@@ -432,7 +432,7 @@
+             }
+         }
+         if (isset($_POST['delete_alternate']) && isset($_POST['alternates_list'])){
+-            $this->delAlternate (get_post('alternates_list'));
++            $this->delAlternate ($_POST('alternates_list'));
+         }
+ 
+ 
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 55499cb..dbe8cc9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,6 +11,7 @@
 1007_gen-uids-like-gosa26.patch
 1008_enable-csv-import-on-clean-installs.patch
 1009_fix-insertDhcp-icon-in-dhcp-section-overview.patch
+1010_fix-entry-removal-in-mail-plugin.patch
 2001_fix-smarty-location.patch
 2002_fix-template-location.patch
 2003_fix-class-mapping.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list