Skip to content

Conversation

@Hackwar
Copy link
Member

@Hackwar Hackwar commented Feb 27, 2023

Pull Request for Issue #39512.

Summary of Changes

Our wamania/php-stemmer requires voku/portable-utf8, which in the 5.4 version is not compatible with PHP 8.2. Version 6.0 actually is and since the code for the stemmer is compatible, we can thus update voku/portable-utf8 now with this. php-stemmer will most likely not update it for the 2.x version we are using. For Joomla 5 this is probably going to be done through our dependency updates.

Testing Instructions

Apply the change (together with composer install) and then run the indexer of smart search and afterwards search something in the frontend. Make sure that the stemmer is selected in the global options of Smart Search by setting "Default Language" to "Default Site Language". All of this in PHP 8.2

Actual result BEFORE applying this Pull Request

You see a notice.

Expected result AFTER applying this Pull Request

You don't see a notice.

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

@laoneo
Copy link
Member

laoneo commented Mar 6, 2023

I have tested this item ✅ successfully on 44f9ff1

When I run joomla in a webserver with xdebug enabled, like I do with DPDocker, then I get always on the first page load a deprecated warning from voku. With this patch not anymore.


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

@carlitorweb
Copy link
Member

I have tested this item ✅ successfully on 44f9ff1


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

@Quy
Copy link
Contributor

Quy commented Mar 6, 2023

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Mar 6, 2023
@obuisard obuisard added this to the Joomla! 4.3.0 milestone Mar 8, 2023
@obuisard obuisard merged commit ffcab18 into joomla:4.3-dev Mar 8, 2023
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Mar 8, 2023
@obuisard
Copy link
Contributor

obuisard commented Mar 8, 2023

Thank you Hannes @Hackwar !

@infograf768
Copy link
Member

We have the same problem in 4.2.9
Impossible to install a new 4.2.9 and other issues.

@Hackwar Hackwar deleted the 4.3-finder-utf8 branch March 8, 2023 21:29
@Hackwar
Copy link
Member Author

Hackwar commented Mar 8, 2023

This class is not used during installation of Joomla.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants