Make mandatory IPs a configuration option in the systems plugins
It bugs me is having the IP field mandatory only in some cases, we should put it either mandatory for all systems or none, or have an option in the configuration back-end.
If it’s non-mandatory by default we can make it mandatory when some tabs are activated (argonautClient for instance needs it).
Plugin with the defect
PHP version used
Origin of php packages
Steps to Reproduce
- Create a system
- try to save without an ip
- doesnt work
Make it non mandatory by default, code wise.
Have an option in configuration back-end for each of the plugin thats need ip address.
Active the option by default, to not change the fonctional usage of people already using it but allowing people to change it if needed.
ip is mandatory on all systems and we cannot change that
Reproduces how often:
Make it a configuration option since we changed this too many times already.
Multi-valuated configuration field listing the types for which IP is mandatory.
Note that ipHost have the field ipHostNumber as mandatory so we’ll need to add code to remove this objectClass when the field is empty. This is already what we are doing for phones.