-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 7.4.7rc1, 8.0.0alpha2 (master)
-
Component/s: None
Steps to reproduce:
- Open Item create form for host that doesn't have any Zabbix agent interfaces
- Click submit
Result:
Inline validation error is missing Host interface field.

Expected:
Missing inline validation error for Host interface field.

Reason: In function #resolveFieldReferences only collected values of linked fields based on provided values (not rules). As interface field is disabled in such case it is not passed to scope of fields that needs to be validated. If following line is added to form, Expected result is reached, but that is workaround:
fields.interfaceid = fields.interfaceid ? fields.interfaceid : null;
Temporary fix: Within scope of ZBXNEXT-9851 temporary fix to always pass interfaceid parameter to validateSubmit function will be added. Within scope of this task this temporary fix should be removed.