Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30759

Creating content with "terminal escape codes" chars inside Searchable field will return 500 error when using Solr

    XMLWordPrintable

Details

    Description

      If any field flagged as Searchable has value containing "terminal escape codes" and Solr is used as a Search Engine, creating content will fail with 500 error.

      Steps to reproduce:
      1. Clean installation of eZ Platform 2.5 with Solr 6.6.5 configured as a search engine.
      2. Create a new folder in Admin UI, name it:

      Roses are red, violets are blue.
      

      3. Publish it

      Result:

      Wrong HTTP status received from Solr: 400 on http://localhost:8983/solr/collection1
      EzSystems\EzPlatformSolrSearchEngine\Gateway\Endpoint::__set_state(..)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mateusz.bieniek@ibexa.co Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: