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

Cannot define new ImageMagick filters in ezpublish.yml

    Details

      Description

      Trying to add new filters on ezpublish.yml like :

      ezpublish:
          imagemagick:
              enabled: true
              path: /usr/local/bin/convert
              filters:
                  sharpen: "-sharpen 0.5"
      

      But got an error message:
      InvalidConfigurationException: Unrecognized options "sharpen" under "ezpublish.imagemagick.filters"

        Issue Links

          Activity

          Philippe Vincent-Royol created issue -
          Hide
          Philippe Vincent-Royol added a comment - - edited

          From JV:

          Seems to be a real issue.
          This part in the configuration parser seems to lack a prototype section...
          https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/DependencyInjection/Configuration.php#L188-L191

          Show
          Philippe Vincent-Royol added a comment - - edited From JV: Seems to be a real issue. This part in the configuration parser seems to lack a prototype section... https://github.com/ezsystems/ezpublish-kernel/blob/master/eZ/Bundle/EzPublishCoreBundle/DependencyInjection/Configuration.php#L188-L191
          Philippe Vincent-Royol made changes -
          Field Original Value New Value
          Priority High [ 3 ] Medium [ 4 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Open [ 1 ] Backlog [ 10000 ]
          Jérôme Vieilledent (Inactive) made changes -
          Fix Version/s Engineering tracked issues [ 11179 ]
          Jérôme Vieilledent (Inactive) made changes -
          Summary I can't define new filters on ezpublish.yml Cannot define new ImageMagick filters in ezpublish.yml
          Show
          Jérôme Vieilledent (Inactive) added a comment - https://github.com/ezsystems/ezp-next/pull/220
          Philippe Vincent-Royol made changes -
          Description Trying to add new filters on ezpublish.yml like :

          {code}
          ezpublish:
              imagemagick:
                  enabled: true
                  path: /usr/local/bin/convert
                  filters:
                      sharpen: "-sharpen 0.5"
          {/code}

          But got an error message:
          *InvalidConfigurationException: Unrecognized options "sharpen" under "ezpublish.imagemagick.filters"*
          Philippe Vincent-Royol made changes -
          Description Trying to add new filters on ezpublish.yml like :

          {code}
          ezpublish:
              imagemagick:
                  enabled: true
                  path: /usr/local/bin/convert
                  filters:
                      sharpen: "-sharpen 0.5"
          {/code}

          But got an error message:
          *InvalidConfigurationException: Unrecognized options "sharpen" under "ezpublish.imagemagick.filters"*
          Trying to add new filters on ezpublish.yml like :

           
          {code}ezpublish:
          {code} imagemagick:
          {code} enabled: true
          {code} path: /usr/local/bin/convert
          {code} filters:
          {code} sharpen: "-sharpen 0.5"
           

          But got an error message:
          *InvalidConfigurationException: Unrecognized options "sharpen" under "ezpublish.imagemagick.filters"*
          Philippe Vincent-Royol made changes -
          Description Trying to add new filters on ezpublish.yml like :

           
          {code}ezpublish:
          {code} imagemagick:
          {code} enabled: true
          {code} path: /usr/local/bin/convert
          {code} filters:
          {code} sharpen: "-sharpen 0.5"
           

          But got an error message:
          *InvalidConfigurationException: Unrecognized options "sharpen" under "ezpublish.imagemagick.filters"*
          Trying to add new filters on ezpublish.yml like :

          {code}
          ezpublish:
              imagemagick:
                  enabled: true
                  path: /usr/local/bin/convert
                  filters:
                      sharpen: "-sharpen 0.5"
          {code}

          But got an error message:
          *InvalidConfigurationException: Unrecognized options "sharpen" under "ezpublish.imagemagick.filters"*
          Show
          Jérôme Vieilledent (Inactive) added a comment - - edited Fixed in master : https://github.com/ezsystems/ezpublish-kernel/commit/4b0a75d0e4d1397612855e003ed436a15da60f13
          Jérôme Vieilledent (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 1 hour [ 3600 ]
          Worklog Id 28088 [ 28088 ]
          Jérôme Vieilledent (Inactive) logged work - 07/Feb/13 1:37 PM - edited
          • Time Spent:
            1 hour, 30 minutes
             

            .

          Jérôme Vieilledent (Inactive) made changes -
          Status Backlog [ 10000 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Jérôme Vieilledent (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Jérôme Vieilledent (Inactive) made changes -
          Time Spent 1 hour [ 3600 ] 1 hour, 30 minutes [ 5400 ]
          Worklog Id 28088 [ 28088 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Joao Inacio (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Joao Inacio (Inactive) made changes -
          Status Reopened [ 4 ] Backlog [ 10000 ]
          Joao Inacio (Inactive) made changes -
          Fix Version/s Customer request [ 11018 ]
          Gunnstein Lye made changes -
          Status Backlog [ 10000 ] InputQ [ 10001 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Jerome Vieilledent [ jerome.vieilledent@ez.no ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Development [ 3 ] Devlopment done [ 5 ]
          Jérôme Vieilledent (Inactive) made changes -
          Status Devlopment done [ 5 ] Documentation done [ 10011 ]
          Joao Inacio (Inactive) made changes -
          Link This issue relates to EZP-20516 [ EZP-20516 ]
          Pedro Resende (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Jerome Vieilledent [ jerome.vieilledent@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
          Pedro Resende (Inactive) made changes -
          Rank Ranked higher
          Pedro Resende (Inactive) made changes -
          Status QA [ 10008 ] QA done [ 10007 ]
          Pedro Resende (Inactive) made changes -
          Time Spent 1 hour, 30 minutes [ 5400 ] 5 hours, 30 minutes [ 19800 ]
          Worklog Id 29925 [ 29925 ]
          Pedro Resende (Inactive) made changes -
          Worklog Id 29925 [ 29925 ]
          Pedro Resende (Inactive) logged work - 28/Feb/13 6:10 PM - edited
          • Time Spent:
            4 hours
             

            Analyse and reproduce issue, write test case and verify the patch fixes the issue

          André Rømcke made changes -
          Assignee Pedro Resende [ pedro.resende@ez.no ]
          Status QA done [ 10007 ] Closed [ 6 ]
          Fix Version/s 5.1 [ 11280 ]
          Resolution Fixed [ 1 ]
          Joao Inacio (Inactive) made changes -
          Link This issue relates to EZP-20521 [ EZP-20521 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 51926 ] EZ* Development Workflow [ 83509 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 83509 ] EZEE Development Workflow [ 122111 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Backlog Backlog
          8m 30s 1 jerome.vieilledent@ez.no 07/Feb/13 10:17 AM
          Backlog Backlog Closed Closed
          3h 36m 1 jerome.vieilledent@ez.no 07/Feb/13 1:54 PM
          Reopened Reopened Closed Closed
          1s 1 jerome.vieilledent@ez.no 07/Feb/13 5:51 PM
          Closed Closed Reopened Reopened
          19d 7h 1m 2 joao.inacio@ez.no 26/Feb/13 8:56 PM
          Reopened Reopened Backlog Backlog
          9s 1 joao.inacio@ez.no 26/Feb/13 8:56 PM
          Backlog Backlog InputQ InputQ
          14h 17m 1 Gunnstein Lye 27/Feb/13 11:14 AM
          InputQ InputQ Development Development
          6h 9m 1 jerome.vieilledent@ez.no 27/Feb/13 5:24 PM
          Development Development Development Done Development Done
          5s 1 jerome.vieilledent@ez.no 27/Feb/13 5:24 PM
          Development Done Development Done Documentation Review done Documentation Review done
          7s 1 jerome.vieilledent@ez.no 27/Feb/13 5:24 PM
          Documentation Review done Documentation Review done QA QA
          15h 48m 1 pedro.resende@ez.no 28/Feb/13 9:13 AM
          QA QA QA Done QA Done
          6h 6m 1 pedro.resende@ez.no 28/Feb/13 3:19 PM
          QA Done QA Done Closed Closed
          18h 55m 1 André Rømcke 01/Mar/13 10:14 AM

            People

            • Assignee:
              Unassigned
              Reporter:
              Philippe Vincent-Royol
            • Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 5 hours, 30 minutes
                5h 30m