?
avatar PhilETaylor
PhilETaylor
8 Jun 2020

Steps to reproduce the issue

checkout 4.0-dev
apply #29428 so that you can actually use com_finder (Bug not fixed in, or broken by that PR, it exists before and after that PR, but you need that PR to actually GET TO the search page at the moment)
Create a new menu item pointing to smart search
visit that menu item on the frontend
search for

:":":@£4@£$asd

Expected result

No results. No PHP Notices

Actual result

PHP Notices repeated/

Notice
: Trying to get property 'phrase' of non-object in
/application/administrator/components/com_finder/src/Indexer/Query.php
on line
1329
Notice
: Trying to get property 'term' of non-object in
/application/administrator/components/com_finder/src/Indexer/Query.php
on line
1338
Notice
: Trying to get property 'stem' of non-object in
/application/administrator/components/com_finder/src/Indexer/Query.php
on line
1338

Screenshot 2020-06-08 at 20 13 52

System information (as much as possible)

Mysqli driver

avatar PhilETaylor PhilETaylor - open - 8 Jun 2020
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Jun 2020
avatar PhilETaylor PhilETaylor - change - 8 Jun 2020
The description was changed
avatar PhilETaylor PhilETaylor - edited - 8 Jun 2020
avatar PhilETaylor
PhilETaylor - comment - 8 Jun 2020

I have managed to reduce the search string needed to replicate this down to (with the quotes, so all 3 chars into the search box)

":"

using just that will replicate this problem

avatar Fedik
Fedik - comment - 8 Jun 2020

I suspect it something with value filtering, in the end (after filtering) it doing search for empty string.
But not tested.

avatar Quy
Quy - comment - 5 Jul 2020

Please test PR #30010

avatar Quy Quy - change - 5 Jul 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-07-05 21:00:33
Closed_By Quy
avatar Quy Quy - close - 5 Jul 2020

Add a Comment

Login with GitHub to post a comment