? ? Pending
Pull Request for # 26114

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
9 Sep 2019

Pull Request for Issue #26114 and #26226.

Summary of Changes

Disables category state and access filter in finder plugins.

Testing Instructions

Enable Content - Smart Search plugin.
Create an article.
Unpublish its category.

Expected result

Category unpublished.

Actual result

An error has occurred.

0 Argument 2 passed to Joomla\Component\Finder\Administrator\Indexer\Result::addNestedTaxonomy() must implement interface Joomla\CMS\Tree\ImmutableNodeInterface, null given, called in plugins\finder\content\content.php on line 322

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 9 Sep 2019
avatar SharkyKZ SharkyKZ - change - 9 Sep 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2019
Category Front End Plugins
avatar brianteeman brianteeman - test_item - 9 Sep 2019 - Tested successfully
avatar brianteeman
brianteeman - comment - 9 Sep 2019

I have tested this item successfully on c114b7c


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

avatar Quy Quy - test_item - 11 Sep 2019 - Tested successfully
avatar Quy
Quy - comment - 11 Sep 2019

I have tested this item successfully on c114b7c


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

avatar Quy Quy - change - 11 Sep 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 11 Sep 2019

RTC


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

avatar Quy Quy - change - 12 Sep 2019
Labels Added: ? ?
avatar wilsonge
wilsonge - comment - 16 Sep 2019

Why's this required now :/ this isn't an issue in 3.x right?

avatar wilsonge
wilsonge - comment - 16 Sep 2019

@Hackwar this feels like a "bug" introduced by the interfaces (even if it's due to badly designed code to start with)

avatar Hackwar
Hackwar - comment - 16 Sep 2019

This isn't an issue in 3.x, since there we don't have the nested taxonomies and the taxonomy is just 2 strings. I wouldn't call this a bug.

avatar wilsonge
wilsonge - comment - 16 Sep 2019

There's definitely a bug. You can't install testing sample data without this patch

avatar brianteeman
brianteeman - comment - 16 Sep 2019

It is only a bug when I say it is a bug. The rear of the titimet is your fault :)

avatar N6REJ N6REJ - test_item - 24 Sep 2019 - Tested successfully
avatar N6REJ
N6REJ - comment - 24 Sep 2019

I have tested this item successfully on 6142a59


RTC
solved #26226


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

avatar wilsonge
wilsonge - comment - 28 Sep 2019

Still holding on this for now. I believe in the end we're going to find this is related in some way to the sample data. It's good to know we have a fallback option though

avatar SharkyKZ
SharkyKZ - comment - 28 Sep 2019

Nothing to do with sample data. Finder plugins require a category. We have to disable filters here. Otherwise indexed content would differ based on who triggered the indexing.

avatar infograf768
infograf768 - comment - 11 Oct 2019

After patching with this I do get the error stated in #26404 (comment)

Sample data or not. Only solved if I disable the smartsearch plugins.

avatar SharkyKZ
SharkyKZ - comment - 11 Oct 2019

I see we need to run category state through $this->translateState(). Not sure if we also need to check parent category state.

avatar infograf768
infograf768 - comment - 12 Oct 2019

@Hackwar
We need to solve these. As it is your baby, please help.

avatar SharkyKZ
SharkyKZ - comment - 12 Oct 2019

Should be good now, I think. @brianteeman @Quy can you test again?

avatar infograf768 infograf768 - test_item - 13 Oct 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 13 Oct 2019

I have tested this item successfully on 7898300


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

avatar infograf768 infograf768 - change - 13 Oct 2019
Status Ready to Commit Pending
avatar infograf768
infograf768 - comment - 13 Oct 2019

Taking off RTC until we get another test.


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

avatar richard67 richard67 - test_item - 13 Oct 2019 - Tested successfully
avatar richard67
richard67 - comment - 13 Oct 2019

I have tested this item successfully on 7898300


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

avatar alikon alikon - change - 13 Oct 2019
Status Pending Ready to Commit
avatar alikon
alikon - comment - 13 Oct 2019

RTC


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

avatar Renuka-S Renuka-S - test_item - 19 Oct 2019 - Tested successfully
avatar Renuka-S
Renuka-S - comment - 19 Oct 2019

I have tested this item successfully on e2338e1


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

avatar jduerscheid jduerscheid - test_item - 19 Oct 2019 - Tested successfully
avatar jduerscheid
jduerscheid - comment - 19 Oct 2019

I have tested this item successfully on e2338e1


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

avatar SharkyKZ SharkyKZ - change - 19 Oct 2019
Rel_Number 0 26114
Relation Type Pull Request for
avatar infograf768
infograf768 - comment - 28 Oct 2019

@wilsonge
This PR is still working fine here. Can you merge?

avatar HLeithner HLeithner - change - 28 Oct 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-10-28 09:25:14
Closed_By HLeithner
avatar HLeithner HLeithner - close - 28 Oct 2019
avatar HLeithner HLeithner - merge - 28 Oct 2019
avatar HLeithner
HLeithner - comment - 28 Oct 2019

thx

Add a Comment

Login with GitHub to post a comment