bug PR-5.0-dev ? Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Feb 2023

Pull Request for Issue #30372.

Summary of Changes

The stemmer in Smart Search throws an exception when there is no stemmer for that language. We catch that exception successfully, but when debugging with xdebug, the exception stops execution anyway. This change first checks if the language should be available before calling the stemmer factory.

Testing Instructions

Set the language for an item to *, start a debugging session with xdebug, save the item.

Actual result BEFORE applying this Pull Request

Xdebug stops execution with a NotFoundException exception.

Expected result AFTER applying this Pull Request

Xdebug does not stop.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Hackwar Hackwar - open - 27 Feb 2023
avatar Hackwar Hackwar - change - 27 Feb 2023
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Feb 2023
Category Administration com_finder
avatar Hackwar Hackwar - change - 18 Apr 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-04-18 12:06:36
Closed_By Hackwar
Labels Added: bug PR-4.3-dev ?
avatar Hackwar Hackwar - close - 18 Apr 2023
avatar Hackwar Hackwar - change - 18 Apr 2023
Status Closed New
Closed_Date 2023-04-18 12:06:36
Closed_By Hackwar
avatar Hackwar Hackwar - change - 18 Apr 2023
Status New Pending
avatar Hackwar Hackwar - reopen - 18 Apr 2023
avatar Hackwar Hackwar - change - 18 Apr 2023
Title
[4.3] Smart Search: Preventing stemmer exception
[5.0] Smart Search: Preventing stemmer exception
avatar Hackwar Hackwar - edited - 18 Apr 2023
avatar HLeithner HLeithner - change - 30 May 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-30 11:34:38
Closed_By HLeithner
Labels Added: PR-5.0-dev
Removed: PR-4.3-dev
avatar HLeithner HLeithner - close - 30 May 2023
avatar HLeithner HLeithner - merge - 30 May 2023
avatar HLeithner
HLeithner - comment - 30 May 2023

thanks

Add a Comment

Login with GitHub to post a comment