php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
Submitted: 2012-03-22 21:13 UTC Modified: 2012-04-03 11:44 UTC
From: mattficken@php.net Assigned: ab (profile)
Status: Closed Package: Testing related
PHP Version: 5.3.10 OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mattficken@php.net
New email:
PHP Version: OS:

 

 [2012-03-22 21:13 UTC] mattficken@php.net
Description:
------------
Expected result:
----------------
test pass

Actual result:
--------------
test fail
001+ Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `ADODB.Connection': The specified module could not be found.
001- int(0)
002+ ' in C:\php-sdk\php-5.3-src-r324324\ext\com_dotnet\tests\bug49192.php:15
003+ Stack trace:
004+ #0 C:\php-sdk\php-5.3-src-r324324\ext\com_dotnet\tests\bug49192.php(15): com->com('ADODB.Connectio...')
005+ #1 {main}
006+   thrown in C:\php-sdk\php-5.3-src-r324324\ext\com_dotnet\tests\bug49192.php on line 15


This test fails to load ADO (using COM).

The patch marks it as XFAIL and provides this info.

A change in windows longhorn x64(affecting vista, 7, 8, 2008, 2008r2) broke ADO.

There is a fix available, but user has to install it.

Given that ADO was deprecated a long time ago in favor of newer APIs, I don't think its worth the trouble of making the user install the fix to get an accurate test run. its better to just not run the test or expect it to fail.

see: http://support.microsoft.com/kb/2517589
see: http://www.infoq.com/news/2011/10/ADO-Win7



Patches

bug49192 (last revision 2012-03-22 21:13 UTC by mattficken@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-22 21:13 UTC] mattficken@php.net
The following patch has been added/updated:

Patch Name: bug49192
Revision:   1332450831
URL:        https://bugs.php.net/patch-display.php?bug=61481&patch=bug49192&revision=1332450831
 [2012-04-02 22:58 UTC] mattficken@php.net
This patch passes on PHP5.3.11rc1 on Windows 7 sp1x64.

It does not break for me on Linux x64 (Gentoo and Fedora 16) with PHP5.3.11rc1.
 [2012-04-03 11:29 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=94cefaedaf36b681bdf03d89c761f642a28e33e0
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 [2012-04-03 11:30 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c7e9c646eee25711cab04ee2d17390373baa53e5
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 [2012-04-03 11:44 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2012-04-03 11:44 UTC] ab@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-04-03 12:28 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=94cefaedaf36b681bdf03d89c761f642a28e33e0
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 [2012-04-18 09:45 UTC] laruence@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c7e9c646eee25711cab04ee2d17390373baa53e5
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 [2012-07-24 23:36 UTC] rasmus@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c7e9c646eee25711cab04ee2d17390373baa53e5
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 [2013-11-17 09:32 UTC] laruence@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=c7e9c646eee25711cab04ee2d17390373baa53e5
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 [2014-10-07 23:27 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=94cefaedaf36b681bdf03d89c761f642a28e33e0
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 [2014-10-07 23:38 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=94cefaedaf36b681bdf03d89c761f642a28e33e0
Log: Fix bug #61481 Test Bug - ext/com_dotnet/tests/bug49192
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC