? ? Success

User tests: Successful: Unsuccessful:

avatar HLeithner
HLeithner
29 May 2019

Summary of Changes

Updated SQL queries to prepared statements and made some cleanups around the queries.

Testing Instructions

Use the module in all ways you can think of.

  • create a frontend module
  • create articles with tags
  • check the tags in the module if its the same without the PR

Expected result

Nothing changed.

avatar HLeithner HLeithner - open - 29 May 2019
avatar HLeithner HLeithner - change - 29 May 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 May 2019
Category Modules Front End
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2019
Title
Add prepared statements for mod tags popular
[4.0] Add prepared statements for mod tags popular
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 May 2019
Title
Add prepared statements for mod tags popular
[4.0] Add prepared statements for mod tags popular
avatar franz-wohlkoenig franz-wohlkoenig - edited - 30 May 2019
avatar HLeithner HLeithner - change - 31 May 2019
Labels Added: ?
86ee169 31 May 2019 avatar HLeithner cs
avatar alikon
alikon - comment - 16 Jun 2019

I have tested this item successfully on 86ee169


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

avatar alikon alikon - test_item - 16 Jun 2019 - Tested successfully
avatar Quy
Quy - comment - 20 Jun 2019

Error: Unknown column 'MAX(tag_id) AS tag_id' in 'field list': Unknown column 'MAX(tag_id) AS tag_id' in 'field list'

avatar Quy
Quy - comment - 20 Jun 2019

Warning: Illegal offset type in \libraries\vendor\joomla\database\src\Mysqli\MysqliQuery.php on line 123

Warning: mysqli_stmt::bind_param(): Number of variables doesn't match number of parameters in prepared statement in \libraries\vendor\joomla\database\src\Mysqli\MysqliStatement.php on line 425

avatar alikon
alikon - comment - 21 Jun 2019

could be related to this line https://github.com/joomla/joomla-cms/pull/25043/files#diff-b76ce82322bfdac12f53dcffdcc8a16cR104 the actual bind() doesn't allow what has been made here
probably a composer update will solve

avatar HLeithner
HLeithner - comment - 21 Jun 2019

I closed my own PR joomla-framework/database#162 accidentally, this one is needed for this PR to work.

Applying the database Pr makes this one work again...

avatar alikon
alikon - comment - 21 Jun 2019

When I've tested this one I should have the framework patched

Il ven 21 giu 2019, 10:50 Harald Leithner notifications@github.com ha
scritto:

I closed my own PR joomla-framework/database#162
joomla-framework/database#162 accidentally,
this one is needed for this PR to work.

Applying the database Pr makes this one work again...


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/joomla/joomla-cms/pull/25043?email_source=notifications&email_token=AABMLMJQGMYM5QUV5BIH7QTP3SI53A5CNFSM4HQTTAE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYH3YII#issuecomment-504347681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABMLMJDD4V5BNQCLFOCXQTP3SI53ANCNFSM4HQTTAEQ
.

avatar SharkyKZ
SharkyKZ - comment - 22 Jul 2019

I have tested this item successfully on 19d980f


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

avatar SharkyKZ SharkyKZ - test_item - 22 Jul 2019 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jul 2019

@alikon can you please retest?

avatar Quy
Quy - comment - 22 Jul 2019

I have tested this item successfully on 19d980f


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

avatar Quy Quy - test_item - 22 Jul 2019 - Tested successfully
avatar Quy Quy - change - 22 Jul 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 22 Jul 2019

RTC


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

avatar wilsonge wilsonge - change - 23 Jul 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-07-23 18:22:56
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 23 Jul 2019
avatar wilsonge wilsonge - merge - 23 Jul 2019
avatar wilsonge
wilsonge - comment - 23 Jul 2019

Thanks!

Add a Comment

Login with GitHub to post a comment