• We have redone the forum. If you notice any issues or errors please open a Support Ticket under the Members dropdown and let us know.
K

--no-interaction is not passed to finalize child command

  • Thread starter Thread starter Kirby
  • Start date Start date
K

Kirby

Guest

If an import is started via CLI 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...
 
Similar threads Most view View more
Back
Top