Your message dated Fri, 13 Nov 2015 17:19:45 +0000
with message-id <[email protected]>
and subject line Bug#786479: fixed in dolibarr 3.5.7+dfsg1-1
has caused the Debian Bug report #786479,
regarding dolibarr: Does not honor dropdown menu for Cc: when sending
invoices/quotations
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
786479: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786479
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dolibarr
Version: 3.5.5+dfsg1-1
Severity: normal
Tags: upstream patch
Dear Maintainer,
The form to send an invoice by email allows choosing the recipient of the
email, with a free-form text field or via a drop-down menu. A similar choice
exists for the second recipient (Cc:). However, picking an option from the
drop-down menu for Cc: is silently ignored, and only the text field is taken
into account.
The problem also exists for the form to send a quotation by email.
Attached is a patch fixing both bugs. I suggest sending it upstream and
including it in debian/patches until it gets merged upstream.
Thanks,
Roland.
-- System Information:
Debian Release: 8.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages dolibarr depends on:
ii fonts-dejavu-core 2.34-1
ii libapache2-mod-php5 5.6.7+dfsg-1
ii libfpdi-php 1.4.1-1
ii libjs-flot 0.8.2+dfsg-1
ii libjs-jquery 1.7.2+dfsg-3.2
ii libjs-jquery-cookie 10-1
ii libjs-jquery-ui 1.10.1+dfsg-1
ii libnusoap-php 0.9.5-2
ii libphp-adodb 5.15-1
ii php-mail-mime 1.8.9-1
ii php-pclzip 2.8.2-3
ii php-pear 5.6.7+dfsg-1
ii php-tcpdf 6.0.093+dfsg-1
ii php5 5.6.7+dfsg-1
ii php5-cli 5.6.7+dfsg-1
ii php5-curl 5.6.7+dfsg-1
ii php5-gd 5.6.7+dfsg-1
ii php5-ldap 5.6.7+dfsg-1
ii php5-mysql 5.6.7+dfsg-1
ii ttf-dejavu-core 2.34-1
ii xdg-utils 1.1.0~rc1+git20111210-7.4
Versions of packages dolibarr recommends:
ii apache2 [httpd] 2.4.10-10
ii mysql-client-5.5 [mysql-client] 5.5.43-0+deb8u1
ii mysql-server 5.5.43-0+deb8u1
Versions of packages dolibarr suggests:
pn php5-geoip <none>
pn www-browser <none>
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/dolibarr/htdocs/comm/propal.php (from dolibarr
package)
debsums: changed file /usr/share/dolibarr/htdocs/compta/facture.php (from
dolibarr package)
debsums: changed file /usr/share/dolibarr/htdocs/core/class/CMailFile.class.php
(from dolibarr package)
debsums: changed file /usr/share/dolibarr/htdocs/langs/fr_FR/bills.lang (from
dolibarr package)
--- /tmp/tmp.ip8gzXuk8X/dolibarr_3.5.5+dfsg1-1_all/usr/share/dolibarr/htdocs/comm/propal.php 2014-10-03 19:04:41.000000000 +0200
+++ /usr/share/dolibarr/htdocs/comm/propal.php 2015-05-22 09:06:19.418887266 +0200
@@ -492,18 +492,38 @@
$sendto = $object->client->contact_get_property($_POST['receiver'],'email');
$sendtoid = $_POST['receiver'];
}
}
+ if ($_POST['sendtocc'])
+ {
+ // Le destinataire a ete fourni via le champ libre
+ $sendtocc = $_POST['sendtocc'];
+ $sendtoccid = 0;
+ }
+ elseif ($_POST['receivercc'] != '-1')
+ {
+ // Recipient was provided from combo list
+ if ($_POST['receivercc'] == 'thirdparty') // Id of third party
+ {
+ $sendtocc = $object->client->email;
+ $sendtoccid = 0;
+ }
+ else // Id du contact
+ {
+ $sendtocc = $object->client->contact_get_property($_POST['receivercc'],'email');
+ $sendtoccid = $_POST['receivercc'];
+ }
+ }
+
if (dol_strlen($sendto))
{
$langs->load("commercial");
$from = $_POST['fromname'] . ' <' . $_POST['frommail'] .'>';
$replyto = $_POST['replytoname']. ' <' . $_POST['replytomail'].'>';
$message = $_POST['message'];
- $sendtocc = $_POST['sendtocc'];
$deliveryreceipt = $_POST['deliveryreceipt'];
if (dol_strlen($_POST['subject'])) $subject = $_POST['subject'];
else $subject = $langs->transnoentities('Propal').' '.$object->ref;
$actiontypecode='AC_PROP';
--- /tmp/tmp.ip8gzXuk8X/dolibarr_3.5.5+dfsg1-1_all/usr/share/dolibarr/htdocs/compta/facture.php 2014-10-03 19:04:41.000000000 +0200
+++ /usr/share/dolibarr/htdocs/compta/facture.php 2015-04-10 20:29:40.861976693 +0200
@@ -1710,18 +1710,39 @@
$sendto = $object->client->contact_get_property($_POST['receiver'],'email');
$sendtoid = $_POST['receiver'];
}
}
+if ($_POST['sendtocc'])
+{
+ // Le destinataire a ete fourni via le champ libre
+ $sendtocc = $_POST['sendtocc'];
+ $sendtoccid = 0;
+}
+elseif ($_POST['receivercc'] != '-1')
+{
+ // Recipient was provided from combo list
+ if ($_POST['receivercc'] == 'thirdparty') // Id of third party
+ {
+ $sendtocc = $object->client->email;
+ $sendtoccid = 0;
+ }
+ else // Id du contact
+ {
+ $sendtocc = $object->client->contact_get_property($_POST['receivercc'],'email');
+ $sendtoccid = $_POST['receivercc'];
+ }
+}
+
+
if (dol_strlen($sendto))
{
$langs->load("commercial");
$from = $_POST['fromname'] . ' <' . $_POST['frommail'] .'>';
$replyto = $_POST['replytoname']. ' <' . $_POST['replytomail'].'>';
$message = $_POST['message'];
- $sendtocc = $_POST['sendtocc'];
$deliveryreceipt = $_POST['deliveryreceipt'];
if ($action == 'send')
{
if (dol_strlen($_POST['subject'])) $subject = $_POST['subject'];
--- End Message ---
--- Begin Message ---
Source: dolibarr
Source-Version: 3.5.7+dfsg1-1
We believe that the bug you reported is fixed in the latest version of
dolibarr, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laurent Destailleur (eldy) <[email protected]> (supplier of updated
dolibarr package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 18 Aug 2015 17:54:56 +0200
Source: dolibarr
Binary: dolibarr
Architecture: source all
Version: 3.5.7+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Laurent Destailleur (eldy) <[email protected]>
Changed-By: Laurent Destailleur (eldy) <[email protected]>
Description:
dolibarr - Web based software to manage a company or foundation
Closes: 786479 787762
Changes:
dolibarr (3.5.7+dfsg1-1) unstable; urgency=medium
.
* New upstream release with 3.5.7
* Fixed Does not honor dropdown menu for Cc: when sending
invoices/quotations (Closes: #786479)
* Fixed CVE-2015-3935: dolibarr HTML injection (Closes: #787762)
Checksums-Sha1:
296adb6757d6653016e955029cfba0e912188a7e 1660 dolibarr_3.5.7+dfsg1-1.dsc
22b59bc45eb29137537b90620841a59233535d08 12242279
dolibarr_3.5.7+dfsg1.orig.tar.gz
932fdae87bb64bc5b62a7f6560675e0545f71e33 12436
dolibarr_3.5.7+dfsg1-1.debian.tar.xz
73bd855b08f13e8a05b81bca48f8d0b15edf7807 6262716 dolibarr_3.5.7+dfsg1-1_all.deb
Checksums-Sha256:
fcfff6dd903afe605334fc66c420ac6ffe9dffe8c08e597b19972c80cb9d6464 1660
dolibarr_3.5.7+dfsg1-1.dsc
1a62209337881baa1d3483ac1e69581eb2a1e7e7de14b6c832c11bf4bf5d2396 12242279
dolibarr_3.5.7+dfsg1.orig.tar.gz
1af7e65e9e293e30f35b3b75ff306f48a1d9734a92cdaa2c02cdecb41c416ca1 12436
dolibarr_3.5.7+dfsg1-1.debian.tar.xz
d2193d0c93e29d219dd81736ee1eb7b349af2e8c319735f1a69645bb5ddfff64 6262716
dolibarr_3.5.7+dfsg1-1_all.deb
Files:
5e748b1bf73a9db25b90a8abbc53856b 1660 web optional dolibarr_3.5.7+dfsg1-1.dsc
d9a33569d61cd9918aa00ce1b9444bad 12242279 web optional
dolibarr_3.5.7+dfsg1.orig.tar.gz
a5807bf4124432002065f5ef64366ef6 12436 web optional
dolibarr_3.5.7+dfsg1-1.debian.tar.xz
25654345273461ab0a35dd251df93e02 6262716 web optional
dolibarr_3.5.7+dfsg1-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Signed by Raphael Hertzog
iQEcBAEBCAAGBQJWRhcZAAoJEAOIHavrwpq5cRMH/2PWNokokb39olJpYWoTE5Sy
mGKW99OnJnCuoQPLLOd7Kdxio4mxX/5YBQbkkEYTKNZ2nZM2sX48e+T3mGYDsyIh
dzD33W0v29giQ4ag/GC7oKWpLMkLJPrVIrQppCVTWCp2N/LTW2zVwB7pNSUJlC96
T5BivmCRrGN4BYp12fGefrIGM7+97JHGKjRnGqQyjQiDo9ldWygwEAgRdVgVTJF4
rskyxn/hmQFvQypBnQtT/DwL21hVHvRHKe+mDBTUdR055mgePdCr7NJtc1EApTPD
8rqjPIBMo3eKTmnL/DjkaGB2jbi3pjlUi6N/SUXUZNTojJHJR4p0c1Ksk+60CVs=
=54I+
-----END PGP SIGNATURE-----
--- End Message ---