Details
-
Improvement
-
Resolution: Duplicate
-
Medium
-
None
-
4.4.0
-
None
-
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
- duplicates
-
EZP-16270 Workflow event loading not based on autoloads
- Closed