? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
23 Aug 2019

Pull Request for Issue # .

Summary of Changes

Limit and offset arguments of Joomla\Database\DatabaseInterface::setQuery() are deprecated. Use Joomla\Database\Query\LimitableInterface::setLimit() instead.

Testing Instructions

Code review?

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 23 Aug 2019
avatar SharkyKZ SharkyKZ - change - 23 Aug 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2019
Category Administration com_finder com_languages com_postinstall Front End com_contact Libraries Modules
avatar SharkyKZ SharkyKZ - change - 23 Aug 2019
Labels Added: ?
avatar richard67
richard67 - comment - 24 Aug 2019

@SharkyKZ Code review looks good regarding your changes, i.e. I've checked every single change is correct. But it seems you've missed one:

https://github.com/joomla/joomla-cms/blob/4.0-dev/administrator/components/com_finder/Indexer/Adapter.php#L584

Or am I wrong?

avatar SharkyKZ
SharkyKZ - comment - 24 Aug 2019

Thanks. Added that too.

avatar richard67 richard67 - test_item - 24 Aug 2019 - Tested successfully
avatar richard67
richard67 - comment - 24 Aug 2019

I have tested this item successfully on 8c4beab

1. Code review

Checked that every change made by this PR is correct.

Checked that this PR covers all calls to Joomla\Database\DatabaseInterface::setQuery() with deprecated arguments limit or offset or both in soures which belong to the CMS, i.e. not to external libraries.

  1. Functional test

Applied the PR and navigated a bit in backend and used a few functions, e.g. indexed com finder, and verified that nothing broken and nothing logged to PHP error log.


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

avatar richard67
richard67 - comment - 24 Aug 2019

@Quy Could you test, too? I ask because you are an excellent reviewer.

avatar Quy Quy - test_item - 24 Aug 2019 - Tested successfully
avatar Quy
Quy - comment - 24 Aug 2019

I have tested this item successfully on 8c4beab


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

avatar Quy Quy - change - 24 Aug 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 24 Aug 2019

RTC


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

avatar HLeithner
HLeithner - comment - 26 Aug 2019

@SharkyKZ can you fix the merge conflict?

avatar SharkyKZ SharkyKZ - change - 26 Aug 2019
Labels Added: ?
avatar SharkyKZ
SharkyKZ - comment - 26 Aug 2019

Conflicts fixed.

avatar HLeithner
HLeithner - comment - 26 Aug 2019

Thanks for setting the limit.

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 13:11:32
Closed_By HLeithner
avatar HLeithner HLeithner - close - 26 Aug 2019
avatar HLeithner HLeithner - merge - 26 Aug 2019

Add a Comment

Login with GitHub to post a comment