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

When imports.ini is misformed the director form fails #35

Closed
lazyfrosch opened this issue Oct 22, 2020 · 0 comments
Closed

When imports.ini is misformed the director form fails #35

lazyfrosch opened this issue Oct 22, 2020 · 0 comments

Comments

@lazyfrosch
Copy link

Expected Behavior

It should gracefully display an error inside the form, alarming the user the config file should be corrected.

Current Behavior

Error in UI:

array_map(): Expected parameter 2 to be an array, string given

Steps to Reproduce (for bugs)

Broken /etc/icingaweb2/modules/fileshipper/imports.ini:

xamples]
basedir = "/opt/import"

Go to Director any create or modify any fileshipper import.

Your Environment

  • Module version (System - About): 1.7.2
  • Icinga Web 2 version and modules (System - About): 2.8.2
  • Icinga 2 version (icinga2 --version): 2.12.1
  • Operating System and version: CentOS 7
  • Webserver, PHP versions: PHP 7.3
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