? Success

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
27 Dec 2016

Pull Request for Issue # .

Summary of Changes

This PR make some small changes to ModulesModelModule class:

  1. Use local $db variable instead of $this->_db
  2. Use JDatabaseQuery to insert module assignment instead of using plain SQL
  3. Re-use $query object instead of creating new instance
  4. Remove one time usage $app variable, call JFactory::getApplication()->redirect directly

Testing Instructions

  1. Code review
  2. Access to Extensions -> Modules, click on a module to edit, try to change Module Assignment, make sure it is saved properly.

Documentation Changes Required

None

avatar joomdonation joomdonation - open - 27 Dec 2016
avatar joomdonation joomdonation - change - 27 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Dec 2016
Category Administration com_modules
avatar anibalsanchez
anibalsanchez - comment - 5 Jan 2017

I have tested this item successfully on 9d65eb4

Code review OK


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

avatar anibalsanchez anibalsanchez - test_item - 5 Jan 2017 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 5 Jan 2017

I have tested this item successfully on 9d65eb4

Code review OK and it works OK assigning modules to menu items.


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

avatar anibalsanchez anibalsanchez - test_item - 5 Jan 2017 - Tested successfully
avatar joomdonation
joomdonation - comment - 6 Jan 2017

@andrepereiradasilva When you have a chance please report your test result for this PR. It is nice to have this abit better code merged.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 14 Jan 2017

I have tested this item successfully on 9d65eb4

Test without Code review.


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 14 Jan 2017 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 14 Jan 2017
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 14 Jan 2017

RTC


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

avatar wilsonge wilsonge - change - 14 Jan 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-01-14 20:16:14
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 14 Jan 2017
avatar wilsonge wilsonge - merge - 14 Jan 2017

Add a Comment

Login with GitHub to post a comment