? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
24 Aug 2019

Summary of Changes

Adds prepared statements (whereIn) and cleans up queries in Joomla\CMS\Component and Joomla\CMS\Plugin namespaces.

Testing Instructions

Test that plugins and component still work, e.g. you can still login and can still access components.

Expected result

Works like before.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 24 Aug 2019
avatar SharkyKZ SharkyKZ - change - 24 Aug 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Aug 2019
Category Libraries
avatar SharkyKZ SharkyKZ - change - 24 Aug 2019
The description was changed
avatar SharkyKZ SharkyKZ - edited - 24 Aug 2019
avatar SharkyKZ SharkyKZ - change - 25 Aug 2019
Labels Added: ?
avatar alikon alikon - test_item - 25 Aug 2019 - Tested successfully
avatar alikon
alikon - comment - 25 Aug 2019

I have tested this item successfully on 81d5701


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

avatar richard67
richard67 - comment - 25 Aug 2019

Code review shows me it is correct and aligns queries to new J4 style but I do not see anything with prepared statements, so either I am blind or the title of this PR is a bit misleading.

avatar alikon
alikon - comment - 25 Aug 2019

stricly speaking you are right, it's more like a cleanup

avatar richard67
richard67 - comment - 25 Aug 2019

Code review looks good, will check soon if it breaks something (what I don't expect).

avatar joomla-cms-bot joomla-cms-bot - change - 25 Aug 2019
Title
[4.0] Component and Plugin libraries prepared statements
[4.0] Component and Plugin libraries queries clean up
avatar joomla-cms-bot joomla-cms-bot - edited - 25 Aug 2019
avatar richard67 richard67 - change - 25 Aug 2019
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 25 Aug 2019
avatar joomla-cms-bot joomla-cms-bot - edited - 25 Aug 2019
avatar richard67 richard67 - test_item - 25 Aug 2019 - Tested successfully
avatar richard67
richard67 - comment - 25 Aug 2019

I have tested this item successfully on 81d5701


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

avatar alikon alikon - change - 25 Aug 2019
Status Pending Ready to Commit
avatar alikon
alikon - comment - 25 Aug 2019

RTC


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

avatar richard67
richard67 - comment - 25 Aug 2019

@SharkyKZ I was so free to change title and description because there was nothing to be prepared statement. Change back if you are not ok with it.

avatar alikon
alikon - comment - 25 Aug 2019

https://github.com/joomla/joomla-cms/pull/26012/files#diff-4a21854947e3cf421d4bb5d0a805271fR291
can be considered as prepared statement, but who cares , better if this will be merged asasp

avatar richard67
richard67 - comment - 25 Aug 2019

You are right, the whereIn is prepared. I change back title. Sorry @SharkyKZ .

avatar richard67 richard67 - change - 25 Aug 2019
The description was changed
Title
[4.0] Component and Plugin libraries queries clean up
[4.0] Component and Plugin libraries prepared statements
avatar joomla-cms-bot joomla-cms-bot - edited - 25 Aug 2019
avatar joomla-cms-bot joomla-cms-bot - edited - 25 Aug 2019
avatar joomla-cms-bot joomla-cms-bot - edited - 25 Aug 2019
avatar HLeithner HLeithner - change - 26 Aug 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-08-26 09:54:38
Closed_By HLeithner
Labels Added: ?
avatar HLeithner HLeithner - close - 26 Aug 2019
avatar HLeithner HLeithner - merge - 26 Aug 2019
avatar HLeithner
HLeithner - comment - 26 Aug 2019

thanks for the patch.

Add a Comment

Login with GitHub to post a comment