elements-at / ProcessManager

Manage processes in Pimcore
Other
45 stars 31 forks source link

Exception when using ProcessManagerBundle\ExecutionTrait::executeChildProcesses #194

Closed muratbinerbay closed 8 months ago

muratbinerbay commented 8 months ago

Looks like when a child process is executed by calling executeJob on ProcessManagerBundle\ExecutionTrait::executeChildProcesses the metadata being passed is still a string because of json_encode.

I assume the json_encode can be removed in this case?

Elements\Bundle\ProcessManagerBundle\Model\MonitoringItem::setMetaData(): Argument #1 ($metaData) must be of type array, string given, called in /var/www/html/vendor/elements/process-manager-bundle/src/Helper.php on line 57

muratbinerbay commented 8 months ago

Opened https://github.com/elements-at/ProcessManager/pull/197 to fix the issue

ctippler commented 8 months ago

Merged, thx