Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-6019

Fix issues when ElasticSearch container does not run

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.55.0
    • Labels:
    • Story Points:
      3
    • Section:
      Dev Tools
    • Track:
      Development
    • Epic Link:
    • P4 Test Environment:
      tavros
    • Repositories:
      planet4-docker-compose

      Description

      ElasticSearch doesn't run by default on our docker-compose stack.
      This generates a few errors and misconfigurations.

      Known issues:

      • ElasticPress is still enabled, and generates periodic exceptions (visible with xdebug listening on every exception)
      • Disabling ElasticPress triggers a fatal error on search page
      Fatal error:  Uncaught Error: Class 'ElasticPress\Features' not 
      found in /app/source/public/wp-content/themes/planet4-master-theme/src/Search.php:230
      
      • Links on search page have an empty href attribute

      Tasks:

      • Fix those issues
      • Review Makefile config target to enable/disable plugin according to elastic container status

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              fhernand Florent Hernandez
              Reporter:
              fhernand Florent Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: