The index behavior when the category which the item belong to is missing is inconsistent in finder plugins. In contact plugin, we stop indexing item if category not found, while in content plugin, the index process is continued
I think if category not found, we should not index the item, not depend on Category is selected to index or not. I tried to delete a category from database, the article still being indexed and searchable. However, the link to that article throws 404 error, so I don't think it is right.
I looked into this and my first reaction was to refuse a change, but @joomdonation is right here. We should not index an item if it doesn't have a category or a category can't be loaded. I changed the code accordingly. I would be really gratefull for tests to maybe still get this into 4.2?
Thank you for your contribution, unfortunately the 4.4-dev branch doesn't get new features. When #40181 is merged this pr should be rebased to 5.0-dev. Thanks for understanding.
I have tested this item✅ successfully on beff9ea
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/36867.