? Success

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
17 Jun 2016

This PR is a general overview and cleanup of some code structure and doc blocks in the admin com_finder component. Changes of note:

  • Doc blocks cleaned up some to follow standard
  • Return the results of the view's display() methods to be consistent with the documented return
  • Not using variables for items only referenced once
  • Use Joomla\Utilities\ArrayHelper instead of JArrayHelper
  • Removed static $log from methods instantiating a logger; JLog::addLogger() has no return value so the variable cannot be populated with data
  • Use of the JApplicationWeb API in the indexer for building and sending the application response
  • Support late static bindings in the indexer API classes, reference private members as self::
  • Renamed private members with a leading underscore for code style compliance
  • A query that was executed twice in FinderModelIndex::getPluginState() is now only executed once

Testing Instructions

The admin com_finder component should continue to function correctly

avatar mbabker mbabker - open - 17 Jun 2016
avatar mbabker mbabker - change - 17 Jun 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 17 Jun 2016
Category Code style Components
avatar andrepereiradasilva andrepereiradasilva - test_item - 17 Jun 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 17 Jun 2016

I have tested this item successfully on 1ef4a29

Did a code review.

Tested a little the finder in backend (index, views, new filter, etc) and frontend (search).

all seems fine.


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

avatar PhilETaylor PhilETaylor - test_item - 17 Jun 2016 - Tested successfully
avatar PhilETaylor
PhilETaylor - comment - 17 Jun 2016

I have tested this item successfully on 1ef4a29


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

avatar brianteeman brianteeman - change - 17 Jun 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 17 Jun 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2016
Labels Added: ?
avatar roland-d roland-d - close - 16 Jul 2016
avatar roland-d roland-d - merge - 16 Jul 2016
avatar joomla-cms-bot joomla-cms-bot - close - 16 Jul 2016
avatar roland-d roland-d - change - 16 Jul 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-07-16 18:54:41
Closed_By roland-d
avatar joomla-cms-bot joomla-cms-bot - change - 16 Jul 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment