- 
    Incident report 
- 
    Resolution: Won't Do
- 
    Major 
- 
    None
- 
    3.4.13
- 
    Debian 9 stretch amd64
 Installed via repo.zabbix.com
Steps to reproduce:
- I created passive Proxys serveral years ago, must have been version 2.0
- Now I have to delete them.
- I navigate to Administration -> Proxys
- Try to delete Proxy, after no Hosts are configured with it.
- -> Error message
Result:
Error in query [DELETE FROM interface WHERE hostid='10085'] [Cannot delete or update a parent row: a foreign key constraint fails (`zabbix`.`items`, CONSTRAINT `c_items_4` FOREIGN KEY (`interfaceid`) REFERENCES `interface` (`interfaceid`))] SQL statement execution has failed "DELETE FROM interface WHERE hostid='10085'"
 
Expected:
Proxys gets deleted. 
Several more details in my Forum Post:
https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/358661-cannot-delete-proxy-sql-statement-execution-has-failed
