? Success

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
7 Nov 2014

Tracker

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=29248

Code by Karthikeyan S @skarthik2020

How to redpoduce

Log into your Joomla 3.0 admin dashboard In the top menu, click Content and then click Article Manager In the list of articles on the page, click the article title that you want to toggle the Show Navigation setting for You will see several tabs above the article, click the Article Options tab Find the setting labeled Show Navigation. Set it to "Hide", and then click "Save" in the top left

When I set the "Show Navigation" setting for a specific article to "Hide", I still see the navigational buttons on the page.

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
3.00

0085fe6 7 Nov 2014 avatar zero-24 cs
avatar zero-24 zero-24 - open - 7 Nov 2014
avatar jissues-bot jissues-bot - change - 7 Nov 2014
Title
[#29248] fix: FrontEnd - Disabling Show Navigation setting does not affect article
fix: FrontEnd - Disabling Show Navigation setting does not affect article
Labels Added: ?
avatar jissues-bot jissues-bot - change - 7 Nov 2014
Title
fix: FrontEnd - Disabling Show Navigation setting does not affect article
[#29248] fix: FrontEnd - Disabling Show Navigation setting does not affect article
avatar zero-24 zero-24 - test_item - 7 Nov 2014 - Tested successfully
avatar zero-24
zero-24 - comment - 7 Nov 2014

@test successful as the code is by Karthikeyan S @skarthik2020 see JC

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

avatar zero-24 zero-24 - change - 7 Nov 2014
Title
[#29248] fix: FrontEnd - Disabling Show Navigation setting does not affect article
[#29248] FrontEnd - Disabling Show Navigation setting does not affect article
avatar zero-24 zero-24 - change - 7 Nov 2014
Category Front End Plugins
avatar losedk losedk - test_item - 7 Nov 2014 - Tested successfully
avatar losedk
losedk - comment - 7 Nov 2014

tested. works fine

avatar zero-24 zero-24 - change - 7 Nov 2014
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 7 Nov 2014

Thanks @losedk moving to RTC

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

avatar crystalenka crystalenka - test_item - 8 Nov 2014 - Tested unsuccessfully
avatar crystalenka
crystalenka - comment - 8 Nov 2014

After reproducing the error, I left the options set to "show navigation: hide". I applied the patch, and navigated to the article: no change, navigation still set up.

With the patch still applied, I changed the option to "show navigation: use global" and received this error on the article. screen shot 2014-11-07 at 22 38 04

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

avatar Bakual
Bakual - comment - 8 Nov 2014

Good catch but unfortunately wrong fix :smile:

The issue comes from the article view. It passes $this->params as attribute to the plugin event, but it should pass $item->params instead.
The difference between the two is that the first contains the menu params and the latter contains the merged params from menu and article.

So it likely is wrong for other plugins as well.
@zero-24 Can you change your PR?

avatar Bakual Bakual - change - 8 Nov 2014
Status Ready to Commit Pending
avatar zero-24
zero-24 - comment - 8 Nov 2014

see @Bakual

avatar zero-24 zero-24 - alter_testresult - 8 Nov 2014 - losedk: Not tested
avatar zero-24 zero-24 - test_item - 8 Nov 2014 - Not tested
avatar zero-24 zero-24 - alter_testresult - 8 Nov 2014 - crystalenka: Not tested
avatar zero-24
zero-24 - comment - 8 Nov 2014

Reset tests

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

avatar Bakual
Bakual - comment - 8 Nov 2014

Code looks fine except what I noted inline.

avatar zero-24
zero-24 - comment - 8 Nov 2014

thanks @Bakual fixed

avatar samanoudi
samanoudi - comment - 12 Nov 2014

Hi all,
how can I apply the patch ?

Thx in advance

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

avatar losedk
losedk - comment - 12 Nov 2014
avatar christianhent christianhent - test_item - 14 Mar 2015 - Tested successfully
avatar patjun
patjun - comment - 14 Mar 2015

Tested. Works fine.

avatar jehacgn
jehacgn - comment - 14 Mar 2015

tested- it works


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5016.
avatar jehacgn jehacgn - test_item - 14 Mar 2015 - Tested successfully
avatar tecpromotion tecpromotion - test_item - 14 Mar 2015 - Tested successfully
avatar tecpromotion
tecpromotion - comment - 14 Mar 2015

test confirmed. works as expected.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5016.
avatar aruttkamp
aruttkamp - comment - 14 Mar 2015

tested - ok

avatar Neppert
Neppert - comment - 14 Mar 2015

tested. works ok.

avatar aruttkamp
aruttkamp - comment - 14 Mar 2015

tested - ok


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5016.
avatar aruttkamp aruttkamp - test_item - 14 Mar 2015 - Tested successfully
avatar brianteeman
brianteeman - comment - 14 Mar 2015

Multiple good tests - thanks for testing - setting RTC


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5016.
avatar brianteeman brianteeman - change - 14 Mar 2015
Status Pending Ready to Commit
avatar brianteeman brianteeman - change - 14 Mar 2015
Labels Added: ?
avatar mbabker
mbabker - comment - 14 Mar 2015

Merged to staging

avatar mbabker mbabker - change - 14 Mar 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-03-14 15:31:49
avatar mbabker mbabker - close - 14 Mar 2015
avatar zero-24 zero-24 - close - 14 Mar 2015
avatar mbabker mbabker - close - 14 Mar 2015
avatar mbabker mbabker - reference | - 14 Mar 15
avatar zero-24 zero-24 - head_ref_deleted - 14 Mar 2015
avatar phproberto
phproberto - comment - 1 Apr 2015

I just updated my site to v3.4.1 and articles aren't shown anymore. Reverting this commit brings them back. Another user reported me the same issue so I think something is wrong in this patch.

avatar phproberto
phproberto - comment - 1 Apr 2015

Forget it. It was a third part plugin replacing parameters...

avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment