Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-315

An exception is thrown if ez_recommendation.field_identifiers is not defined

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2015.11
    • 2015.09
    • eZ Recommendation
    • Operating System: CentOS 7.0 x64
      PHP Version: 5.4.16
      Database and version: Mariadb 5.5
      Browser (and version): Firefox 41

    Description

      If the ez_recommendation.field_identifiers parameter isn't set (in parameters.yml), an exception is thrown:

      [Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException]
      The service "ez_recommendation.rest.field.value" has a dependency on a non-existent parameter "ez_recommendation.field_identifiers".
      
      Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-update-cmd event terminated with an exception
      

      The parameter is documented in README.md as optional. Either the doc should be fixed, or the error. I'd suggest we fix the error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulo.nunes-obsolete@ez.no Paulo Nunes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h