Your message dated Sat, 20 Apr 2013 17:32:45 +0000 with message-id <[email protected]> and subject line Bug#703322: fixed in drupal7 7.22-1 has caused the Debian Bug report #703322, regarding drupal7: Test module fails due to curl version 5.4.4 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.) -- 703322: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703322 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: drupal7 Version: 7.14-2 Severity: normal Tags: patch wheezy Dear Maintainer, Using the simpletest module fails for many if not all tests. Steps to reproduce: 1) enable the Testing module 2) in the Configuration menu, select Testing 3) check the checkbox next to Actions 4) click Run tests A large angry red wall of text appears after a few seconds. The expected result is a green message stating that the tests have succeeded. I've managed to find the fix in the drupal git repository: http://drupal.org/commitlog/commit/2/ec12b314fac08e638ff4ed152cb7412739941166 http://drupalcode.org/project/drupal.git/commit/ec12b31 This bug report describes the issue: http://drupal.org/node/1671200 Apparently drupal versions up to and including 7.16 are incompatible with curl 5.4.4 which happens to exactly the version in wheezy. Please add the above commit (attached) to the patches directory! Is there a possibility to still get this fix into wheezy? Thanks, -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages drupal7 depends on: ii apache2 2.2.22-13 ii apache2-mpm-prefork [httpd] 2.2.22-13 ii curl 7.26.0-1+wheezy1 ii dbconfig-common 1.8.47+nmu1 ii debconf [debconf-2.0] 1.5.49 ii mysql-client 5.5.28+dfsg-1 ii mysql-client-5.5 [virtual-mysql-client] 5.5.28+dfsg-1 ii php5 5.4.4-14 ii php5-gd 5.4.4-14 ii php5-mysql 5.4.4-14 ii postfix [mail-transport-agent] 2.9.6-2 ii wwwconfig-common 0.2.2 Versions of packages drupal7 recommends: ii mysql-server 5.5.28+dfsg-1 drupal7 suggests no packages. -- debconf information excludedcommit ec12b314fac08e638ff4ed152cb7412739941166 Author: webchick <[email protected]> Date: Sat Aug 18 13:15:22 2012 +0200 Issue #1671200 by chx, sun, jaimealsilva: Fixed Simpletest broken on 5.4: CURLOPT_COOKIEJAR cannot be NULL on php5-curl version 5.4.4. diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index d83dbeb..19a6c94 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1685,6 +1685,13 @@ class DrupalWebTestCase extends DrupalTestCase { if (!isset($this->curlHandle)) { $this->curlHandle = curl_init(); + + // Some versions/configurations of cURL break on a NULL cookie jar, so + // supply a real file. + if (empty($this->cookieFile)) { + $this->cookieFile = $this->public_files_directory . '/cookie.jar'; + } + $curl_options = array( CURLOPT_COOKIEJAR => $this->cookieFile, CURLOPT_URL => $base_url, @@ -1699,7 +1706,12 @@ class DrupalWebTestCase extends DrupalTestCase { $curl_options[CURLOPT_HTTPAUTH] = $this->httpauth_method; $curl_options[CURLOPT_USERPWD] = $this->httpauth_credentials; } - curl_setopt_array($this->curlHandle, $this->additionalCurlOptions + $curl_options); + // curl_setopt_array() returns FALSE if any of the specified options + // cannot be set, and stops processing any further options. + $result = curl_setopt_array($this->curlHandle, $this->additionalCurlOptions + $curl_options); + if (!$result) { + throw new Exception('One or more cURL options could not be set.'); + } // By default, the child session name should be the same as the parent. $this->session_name = session_name();
--- End Message ---
--- Begin Message ---Source: drupal7 Source-Version: 7.22-1 We believe that the bug you reported is fixed in the latest version of drupal7, 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. Luigi Gangitano <[email protected]> (supplier of updated drupal7 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: SHA1 Format: 1.8 Date: Sat, 20 Apr 2013 18:29:57 +0200 Source: drupal7 Binary: drupal7 Architecture: source all Version: 7.22-1 Distribution: unstable Urgency: low Maintainer: Luigi Gangitano <[email protected]> Changed-By: Luigi Gangitano <[email protected]> Description: drupal7 - fully-featured content management framework Closes: 659848 685006 685333 689333 703322 Changes: drupal7 (7.22-1) unstable; urgency=low . [ Luigi Gangitano ] * New upstream release (Closes: #685006) - Remove patches integrated upstream + debian/patches/40_SA-CORE-2012-003 + debian/patches/50_SA-CORE-2012-004 + debian/patches/60_SA-CORE-2013-001 + debian/patches/70_SA-CORE-2013-002 - Fixes Test module failure with curl >= 5.4.4 (Closes: #703322) . * debian/control - Bumped Standard-Version to 3.9.4, no change needed - Added Gunnar Wolf <[email protected]> to Uploaders . * debian/cron.sh - Fixed CRON_KEY not resetting each loop iteration (Closes: #659848) (Thanks to Michael Wikberg <[email protected]>) - Fixed missing report of errors except last one (Closes: #689333) (Thanks to Gunnar Wolf <[email protected]>) . * debian/README.Debian - Fixed location of locally installed modules (Closes: #685333) . * debian/watch - Updated by Bart Martens <[email protected]> Checksums-Sha1: b4f4f28d7e627da941468dd9d333c3449155631c 1220 drupal7_7.22-1.dsc 81c4d72b374dbcb338ec53049ca659a2d1ee9d87 3183014 drupal7_7.22.orig.tar.gz 4058c4270b529e3ce3cff130358c42b66131433c 190829 drupal7_7.22-1.debian.tar.gz b83dfece3132c748243507ac73990f70705ba925 3232472 drupal7_7.22-1_all.deb Checksums-Sha256: faa7c9472abc00359317605ef0392187e330d2cc179e57a11c8928c681919e95 1220 drupal7_7.22-1.dsc 3f64ccfbb1c62bdef870207aa5de84ad11da1c8a94800fce5ad3a484b47cb29b 3183014 drupal7_7.22.orig.tar.gz 52f9a5eefe6fb1f7057f8ad475e801e5875c2e77fa7e67c02159745402b35913 190829 drupal7_7.22-1.debian.tar.gz b2c0b689575e41536ee7c601baabd24fef3127a51113081da00766cc7cd5944f 3232472 drupal7_7.22-1_all.deb Files: cb20b647aad4d881136030cbf6a3fbbc 1220 web extra drupal7_7.22-1.dsc 068d7a77958fce6bb002659aa7ccaeb7 3183014 web extra drupal7_7.22.orig.tar.gz 97bfd0762cd8b9c819aef71dba343b58 190829 web extra drupal7_7.22-1.debian.tar.gz 4d930acb6d55d00307f894cfaa75a726 3232472 web extra drupal7_7.22-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) iEYEARECAAYFAlFyz6MACgkQ8ZumGJJMDCaNSgCeP/TbS6cvPXcsC7QzUIb+7cv/ lFMAn0qy3FTQoakCZJqBn7u5y/eNIQiL =NwaT -----END PGP SIGNATURE-----
--- End Message ---

