Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define @csv_directory for use in error message of Batch importFinished #15

Open
Nicolas-Bouteille opened this issue Oct 27, 2020 · 0 comments

Comments

@Nicolas-Bouteille
Copy link

Nicolas-Bouteille commented Oct 27, 2020

$messenger->addMessage(t('Some rows failed to import, but unable to create directory for error CSV at @csv_directory', $targs), 'error');

we cannot use $targs here because it's not in the scope. @csv_directory is not defined in $targs, we need to use $dir instead
$messenger->addMessage(t("Some rows failed to import, but unable to create directory for error CSV at @csv_directory", ['@csv_directory' => $dir]), 'error');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant