? Failure

User tests: Successful: Unsuccessful:

avatar jms2win
jms2win
10 Apr 2014

Here is a revival of an issue reported in Github
#1272

See also bug tracker #33598
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33598&start=0

This is a copy of the implementation proposed in Pull Request #1869
joomla/joomla-platform#1869

This affect both J2.5 and 3.2

avatar jms2win jms2win - open - 10 Apr 2014
avatar infograf768
infograf768 - comment - 11 Apr 2014
avatar Bakual
Bakual - comment - 11 Apr 2014

Error is: 816PDOException: SQLSTATE[HY000]: General error: 1 no such column: p.client_id

avatar jms2win
jms2win - comment - 11 Apr 2014

Can you give all the message to verify all the query.
When we did that, that was for the menu.
I would like to see if you have another table name that would not contain the column "client_id"

avatar Bakual
Bakual - comment - 11 Apr 2014

Click on the link from JM or the "Details" link after the "Failed - The Travis CI build failed" message. That will bring you to the Travis test.

The full message is:

1) JTableNestedTest::testGetPath

PDOException: SQLSTATE[HY000]: General error: 1 no such column: p.client_id

/home/travis/build/joomla/joomla-cms/libraries/joomla/database/driver/pdo.php:702
/home/travis/build/joomla/joomla-cms/libraries/joomla/table/nested.php:141
/home/travis/build/joomla/joomla-cms/tests/unit/suites/libraries/joomla/table/JTableNestedTest.php:110

2) JTableNestedTest::testRebuildPath

PDOException: SQLSTATE[HY000]: General error: 1 no such column: p.client_id

/home/travis/build/joomla/joomla-cms/libraries/joomla/database/driver/pdo.php:702
/home/travis/build/joomla/joomla-cms/libraries/joomla/table/nested.php:1383
/home/travis/build/joomla/joomla-cms/tests/unit/suites/libraries/joomla/table/JTableNestedTest.php:497
avatar jms2win
jms2win - comment - 11 Apr 2014

I have saw that but we don't have the full query.
So I don't know what is executed.

If you check the "menu" table in the Joomla 2.5 and 3.2, the field "client_id" exists.

So if this script report an error, it would be good to have the full detail and I don't know who can provide the full detail of the SQL statement that is executed and that fails.

Perhaps that it is executed on a table that does not contain the "client_id".

What I see here, is that it is reported with PDO and not mysql.
So perhaps that PDO table has a difference in the description of the table.

As I don't use PDO, I can not tell you.

avatar Bakual
Bakual - comment - 11 Apr 2014

From what I see you do the change in the JTableNested class, but this one is used for any nested tables. Like also for the categories one. However the client_id is only available in the menus table, not in each nested table.

So you would have to make the change in the table for menus, and not in the JTableNested class.

avatar brianteeman
brianteeman - comment - 27 Jul 2014

As a result of @Bakual comment above and no updates I am closing this

avatar brianteeman brianteeman - change - 27 Jul 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-07-27 15:02:02
avatar brianteeman brianteeman - close - 27 Jul 2014

Add a Comment

Login with GitHub to post a comment