K
Kirby
Guest
If an import is started via CLI
PHP:
This causes the question "Would you like to view any import notes and complete the import? (y/n)" to be asked interactively which generates an exception...
Read more
Continue reading...
php cmd.php xf:import --finalize --no-interaction
, option --no-interaction
is not passed to the finalize child command:PHP:
Code:
$command = $this->getApplication()->find('xf:import-finalize');
$childInput = new ArrayInput(['command' => 'xf:import-finalize']);
$command->run($childInput, $output);
This causes the question "Would you like to view any import notes and complete the import? (y/n)" to be asked interactively which generates an exception...
Read more
Continue reading...