? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
24 Apr 2017

Pull Request for Issue #15498 .

Summary of Changes

It's bad practice to typehint against a stdClass instance. Instead it's better to check we don't get null back from JMenu::getActive or JMenu::getItem

Testing Instructions

Install staging with sample testing data. Go to the featured articles page. Before patch the home page has a url like JROOT/index.php/19-sample-data-articles/joomla/24-joomla. After the patch it should be JROOT/index.php

Documentation Changes Required

None

avatar wilsonge wilsonge - open - 24 Apr 2017
avatar wilsonge wilsonge - change - 24 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Apr 2017
Category Front End com_content
avatar infograf768 infograf768 - test_item - 24 Apr 2017 - Tested successfully
avatar infograf768
infograf768 - comment - 24 Apr 2017

I have tested this item successfully on 87ba5af


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

avatar Kubik-Rubik
Kubik-Rubik - comment - 24 Apr 2017

I have tested this item successfully on 87ba5af


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

avatar Kubik-Rubik Kubik-Rubik - test_item - 24 Apr 2017 - Tested successfully
avatar dgt41
dgt41 - comment - 24 Apr 2017

I have tested this item successfully on 87ba5af


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

avatar dgt41 dgt41 - test_item - 24 Apr 2017 - Tested successfully
avatar dgt41 dgt41 - change - 24 Apr 2017
Status Pending Ready to Commit
avatar wilsonge
wilsonge - comment - 24 Apr 2017

RTC.


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

avatar rdeutz rdeutz - close - 24 Apr 2017
avatar rdeutz rdeutz - merge - 24 Apr 2017
avatar rdeutz rdeutz - change - 24 Apr 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-04-24 10:22:05
Closed_By rdeutz
Labels Added: ?

Add a Comment

Login with GitHub to post a comment