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

solr query builder loads ini at time of class autoloading: breaks closure use from ez5 kernel

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • None
    • None

    Description

      symptoms: bad ini values loaded.
      analysis: if a developer subclasses ezfeZPSolrQueryBuilder (and maybe other use cases as well), the loose php code at the end of ezfezpsolrquerybuilder.php will be run outside of any legacy closure, and save the ezini objects which are parsed from a wrong directory ie empty.
      fix: move the 3 calls at the end of that file into the constructor

      Attachments

        Activity

          People

            Unassigned Unassigned
            gaetano.giunta-obsolete@ez.no Gaetano Giunta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: