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

eZWorkflowType don't use ezpAutoloader

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: 4.4.0
    • Fix Version/s: None
    • Component/s: Legacy > Workflows
    • Labels:
      None
    • Environment:

      Version: 4.4

      Description

      Hi !

      The workflow classes are in the autoload array.
      But the method eZWorkflowType::loadAndRegisterType don't use it but use his own include file.
      So we can't override a kernel workflow easily.

      Best regards,
      Thomas.

      Steps to reproduce

      Try to overwrite a kernel workflow.
      For example :

      • Create the file extension/my_extension/eventtypes/event/ezmultiplexer/ezmultiplexertype.php
      • Allow the kernel override in config.php
      • Regenerate the autoload array : bin/php/ezpgenerateautoloads.php -o
      • You can see in the var/autoload/ezp_override.php file that your workflow is overwrite
        But it doesn't

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                unknown unknown
                Reporter:
                tzilliox Thomas ZILLIOX
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: