? Failure

User tests: Successful: Unsuccessful:

avatar okonomiyaki3000
okonomiyaki3000
25 Oct 2016

Pull Request for Issue # .

Summary of Changes

Instead of calling JHtml static functions directly, call them with the underscore function like JHtml::_('functionname'); so that it's possible to override them.

Testing Instructions

The changed files could potentially affect many pages (for example, any list page with a disabled ordering column). You should see no difference before and after applying the patch.

Documentation Changes Required

No but, if there is some documentation for developers, it would be a good idea for that documentation to make it clear that JHtml static functions should not be called directly but invoked through the _ function.

avatar okonomiyaki3000 okonomiyaki3000 - open - 25 Oct 2016
avatar okonomiyaki3000 okonomiyaki3000 - change - 25 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 25 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 Oct 2016
Category Administration Components Media Manager
avatar okonomiyaki3000 okonomiyaki3000 - change - 21 Nov 2016
The description was changed
avatar joomla-cms-bot joomla-cms-bot - change - 21 Nov 2016
Category Administration Components com_media Administration com_banners com_categories com_contact com_content com_installer com_languages com_media com_menus com_messages com_modules com_newsfeeds com_plugins com_redirect com_tags com_templates Components
avatar okonomiyaki3000
okonomiyaki3000 - comment - 21 Nov 2016

@mbabker tests have been reverted, please check.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Jan 2017

I have tested this item successfully on 3973dfb

Tested on Menu Item Category List and hidden Show Author. Page display same woth or without PR-


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 12 Jan 2017 - Tested successfully
avatar dgt41
dgt41 - comment - 12 Jan 2017

@okonomiyaki3000 can you update your PR, it's out of sync, Thanks

avatar okonomiyaki3000
okonomiyaki3000 - comment - 16 Jan 2017

Should be in sync now.

avatar ThomasFinnern
ThomasFinnern - comment - 5 Feb 2017

I have tested this item successfully on ae82474

Please check whether the operations performed meet the requirements for this test (newbee on testing)

On new installation PHP7.1.1 and Joomla! 3.7.0-beta2 dev [ Amani ] 2-February-2017 18:53 GMT:

avatar ThomasFinnern ThomasFinnern - test_item - 5 Feb 2017 - Tested successfully
avatar zero-24
zero-24 - comment - 5 Feb 2017

I have just fixed the conflicts. -> RTC

avatar zero-24 zero-24 - change - 5 Feb 2017
The description was changed
Milestone Added:
Status Pending Ready to Commit
Labels Added: ?
avatar zero-24 zero-24 - edited - 5 Feb 2017
avatar wilsonge wilsonge - close - 5 Feb 2017
avatar wilsonge wilsonge - merge - 5 Feb 2017
avatar wilsonge wilsonge - change - 5 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-05 22:27:11
Closed_By wilsonge
Labels

Add a Comment

Login with GitHub to post a comment