ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,821
- Points
- 823
Reputation:
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 sub 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...