ProcessManager icon indicating copy to clipboard operation
ProcessManager copied to clipboard

Rest Controller difference in Pimcore 6.6 and 11

Open mishrasantosh831 opened this issue 1 year ago • 0 comments

I've just started using pimcore 11 and installed Process Manager(v5.0.12). I stumbled upon an error when I tried triggering a process in process manager using rest APIs. The executeAction function in rest controller(./vendor/elements/process-manager-bundle/src/Controller/RestController.php) has a different implemetation:

Pim 6.6(Line no. 87):

$config = $list->load()[0];

Pim 11(Line No. 73):

$config = $list->current();

The above is the reason for my error in Pim 11. Kindly provide a solution for the same.

mishrasantosh831 avatar Apr 16 '24 11:04 mishrasantosh831