? ? Failure

User tests: Successful: Unsuccessful:

avatar mbabker
mbabker
17 Sep 2016

Summary of Changes

JTable and its subclasses require the use of a JDatabaseDriver object to be passed in either the constructors or the setDbo() method however this is not enforced in the code except for a handful of subclasses which are already typehinting. This adds typehints for all of the classes to ensure the correct object is used. This also removes all of the referenced parameters, there's not a need for those anymore.

Testing Instructions

The CMS will continue to function as normal. There aren't any existing cases in normal operation where another object gets passed in.

Documentation Changes Required

  • Subclasses of JTable will need to ensure they are passing a JDatabaseDriver object to the parent constructor
  • Subclasses of JTable will need to change the method signature of setDbo() if they have an extended version of that method to include the typehint
avatar mbabker mbabker - open - 17 Sep 2016
avatar mbabker mbabker - change - 17 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Sep 2016
Category Administration Components Tags Libraries Unit Tests
avatar joomla-cms-bot joomla-cms-bot - change - 17 Sep 2016
Labels Added: ? ?
avatar ggppdk ggppdk - test_item - 17 Sep 2016 - Tested successfully
avatar ggppdk
ggppdk - comment - 17 Sep 2016

I have tested this item successfully on 720e47e

I made a code review only


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

avatar wilsonge wilsonge - change - 17 Sep 2016
Labels Added: ?
avatar zero-24 zero-24 - close - 17 Sep 2016
avatar zero-24 zero-24 - close - 17 Sep 2016
avatar wilsonge wilsonge - change - 17 Sep 2016
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-09-17 19:04:58
Closed_By wilsonge

Add a Comment

Login with GitHub to post a comment