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

Missing options for ezpublish_legacy.kernel_handler.cli

    XMLWordPrintable

Details

    Description

      When using ezpublish:legacy:script command, CLIHandler is used as legacy kernel handler, wrapping eZScript.
      This service is built by ezpublish_legacy.kernel.lazy_loader factory service. The factory injects a hash of parameters, as expected by eZScript.

      Problem is that this hash of parameters, referenced by ezpublish_legacy.kernel_handler.cli.options, is empty. This makes eZScript use default values, which is most of the time OK.

      However, use-modules option is set to false by default, which makes impossible to use operations (e.g. content/publish) from legacy scripts.

      Attachments

        Activity

          People

            Unassigned Unassigned
            9e9f2c72-d8ff-4ec0-b8df-c5a744234b9a@accounts.ibexa.co Jérôme Vieilledent
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: