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

Uncaught Error: Wrong parameters for InvalidArgumentException([string $message [, long $code [, Throwable $previous = NULL]]]) #1810

Closed
scoggins opened this issue Mar 25, 2019 · 1 comment
Assignees
Labels

Comments

@scoggins
Copy link

I'm getting an error Uncaught Error: Wrong parameters for InvalidArgumentException([string $message [, long $code [, Throwable $previous = NULL]]]) in /usr/share/icingaweb2/modules/director/library/Director/Objects/ImportSource.php:327

When trying to modify an target (guest.hostName) from the VMware import source.

I believe there should be an sprintf() around the string at this position

throw new InvalidArgumentException(
'Cannot set value for nested key "%s"',
$target
);

@Thomas-Gelf Thomas-Gelf self-assigned this Mar 25, 2019
@Thomas-Gelf
Copy link
Contributor

You're right, thanks for reporting this!

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

No branches or pull requests

2 participants