Icinga / icingaweb2-module-fileshipper

Provide CSV, JSON, XML and YAML files as an Import Source for the Icinga Director and optionally ship hand-crafted additional Icinga2 config files
https://icinga.com/docs/director/latest/fileshipper/doc/02-Installation/
GNU General Public License v2.0
29 stars 13 forks source link

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

Closed lazyfrosch closed 4 years ago

lazyfrosch commented 4 years ago

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