Runner for export-definition


#1

I try to write a runner for the export with the w-vision/import-definitions-bundle.

I know that i have to implement a ExportRunnerInterface But if I use dependency injection to load the implementation via the tag export_definition.runner, it won’t get shown in the select of the export form. Furthermore the export crashes if I still assign this Runner to the export-definition.
On the other hand, if i use the tag import_defintion.runner, I get the error messagt, that classes with the tag import_defintion.runner need to implement RunnerInterface.

Any suggestions?


#2

Hi Bananajoe,

it seems you ran into a bug. The Export Runners are not correctly integrated into the Export Definitions, can you please create a issue on github an I will fix it.

Cheers
Dominik


#3

Thanks!

I just did, I hope I did it right, I have never done that :stuck_out_tongue:

By the way: Similar issue for Fetchers. The only difference is, that there is no explicit “ExportFetcherInterface”. But you also have to give it the tag import_definition.fetcher.

LG Clemens


#4

All good :), I will fix that as soon as I can.