Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-2382

Some chars break legacy search engine

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Install clean Ibexa DXP.
      2. Create a content e.g. folder with these chars:  MAKİNEİÇ DIŞ TİC. ŞTİ.  ʻ
      3. Run reindex command with a legacy search (php bin/console ibexa:reindex --processes 1)

       

      Result

      In SearchIndex.php line 120:
                                                                                                                      
        eZ\Publish\Core\Search\Legacy\Content\WordIndexer\Repository\SearchIndex::addObjectWordLink(): Argument #5 (  
        $nextWordId) must be of type int, null given, called in /var/www/html/vendor/ezsystems/ezplatform-kernel/eZ/  
        Publish/Core/Search/Legacy/Content/WordIndexer/Gateway/DoctrineDatabase.php on line 268 

      or 

      Unable to index the content ["contentId" => xx,"error" => "Warning: Undefined array key "makIne""]
      
      

      It all depends on the PHP version and the settings themselves. The first can be obtained if we have warring error reporting disabled or all (PHP 8)

       

      Expected Result

      indexing should complete without any problems

       

      Note

      There is no problem with SOLR

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              mateusz.debinski@ibexa.co Mateusz Dębiński
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: