? Failure

User tests: Successful: Unsuccessful:

avatar vzenix
vzenix
2 Feb 2015

Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\Abogados\trunk\libraries\joomla\database\driver.php on line 1492

avatar vzenix vzenix - open - 2 Feb 2015
avatar jissues-bot jissues-bot - change - 2 Feb 2015
Labels Added: ?
avatar brianteeman
brianteeman - comment - 2 Feb 2015

Please provide details how someone can replicate this bug so that they can
check the fix.

Also what database engine are you using?

avatar vzenix
vzenix - comment - 2 Feb 2015

Server SQL: SQL Server 2008 R2
Web Serer: IIS 7
Joomla VersiĆ³n: 3.3.6

This is for prevent bad use of this function in third party components or bugs of external components when use the function with incorrect param.

avatar brianteeman brianteeman - change - 2 Feb 2015
Category IIS MS SQL
avatar zero-24
zero-24 - comment - 2 Feb 2015

@vzenix Travis fails on this PR


There was 1 failure:
1) JDatabaseDriverTest::testQuoteName
Tests the left-right quotes on an object.
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
-    0 => '[a]'
-    1 => '[test]'
 )
/home/travis/build/joomla/joomla-cms/tests/unit/suites/libraries/joomla/database/JDatabaseDriverTest.php:479

Can you have a look into it?

avatar vzenix
vzenix - comment - 3 Feb 2015

Where i can find this test class for debug the code?

I search in all source file but can't find this?.

avatar rdeutz
rdeutz - comment - 3 Feb 2015

you need to check out the repository and then it is in "tests/unit/suites/libraries/joomla/database/JDatabaseDriverTest.php" or look here https://github.com/joomla/joomla-cms/blob/staging/tests/unit/suites/libraries/joomla/database/JDatabaseDriverTest.php

avatar Hackwar
Hackwar - comment - 3 Feb 2015

In any case, this means that it is a break in backwards compatibility.

avatar brianteeman brianteeman - change - 7 May 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-05-07 15:22:14
Closed_By brianteeman
avatar brianteeman brianteeman - close - 7 May 2016
avatar brianteeman brianteeman - close - 7 May 2016
avatar brianteeman
brianteeman - comment - 7 May 2016

Thank you for your contribution but it has been decided that this is not something that will be included in the core of Joomla.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5946.

Add a Comment

Login with GitHub to post a comment