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

quiet is now an invalid ezpublish:legacy:script option

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Low Low
    • Resolution: Unresolved
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: Console, Legacy bridge
    • Labels:
      None
    • Environment:

      PHP 5.6.30-0+deb8u1

      Description

      When switching from ez5.x to LegacyBridge is the --quiet flag is used fatal errors occur even though the help still declares it as valid.

        Activity

        Hide
        Bertrand Dunogier added a comment - - edited

        I have just tested this with eZ Platform 1.9.0-rc1, and it worked "as expected" (besides the deprecated warnings):

        ✗ php app/console ezpublish:legacy:script bin/php/ezpgenerateautoloads.php --extension --quiet
        PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; eZTextCodec has a deprecated constructor in /Users/bdunogier/ezplatform/ezpublish_legacy/lib/ezi18n/classes/eztextcodec.php on line 22
         
        Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; eZTextCodec has a deprecated constructor in /Users/bdunogier/ezplatform/ezpublish_legacy/lib/ezi18n/classes/eztextcodec.php on line 22
        

        Could you please describe the exact command and output you are getting ? Thank you. Also, does it behave the same way with other legacy scripts ?

        Show
        Bertrand Dunogier added a comment - - edited I have just tested this with eZ Platform 1.9.0-rc1, and it worked "as expected" (besides the deprecated warnings): ✗ php app/console ezpublish:legacy:script bin/php/ezpgenerateautoloads.php --extension --quiet PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; eZTextCodec has a deprecated constructor in /Users/bdunogier/ezplatform/ezpublish_legacy/lib/ezi18n/classes/eztextcodec.php on line 22   Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; eZTextCodec has a deprecated constructor in /Users/bdunogier/ezplatform/ezpublish_legacy/lib/ezi18n/classes/eztextcodec.php on line 22 Could you please describe the exact command and output you are getting ? Thank you. Also, does it behave the same way with other legacy scripts ?

          People

          • Assignee:
            Unassigned
            Reporter:
            Brendan Pike
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: