[ZBX-3753] "Remove" button is wrongly availabe for host interfaces. Some rare cases. Created: 2011 Apr 26 Updated: 2017 May 30 Resolved: 2011 Oct 21 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.4 (alpha) |
Fix Version/s: | 1.9.7 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | hostinterfaces, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
latest trunk rev 19182 |
Description |
When some item has some interface selected in its settings, then button "Remove" is grayed out and it's right. When you try to remove this interface - tremendous error appeared: Error in query [DELETE FROM interface WHERE (interfaceid IN ('30279')) ] [Cannot delete or update a parent row: a foreign key constraint fails (`zabbix`.`items`, CONSTRAINT `c_items_4` FOREIGN KEY (`interfaceid`) REFERENCES `interface` (`interfaceid`))] |
Comments |
Comment by richlv [ 2011 Jun 01 ] |
still reproducible in trunk rev 19930 |
Comment by Alexander Vladishev [ 2011 Oct 20 ] |
Similar issue |
Comment by Alexey Fukalov [ 2011 Oct 20 ] |
dev branch: svn://svn.zabbix.com/branches/dev/ZBX-3753 |
Comment by Oleksii Zagorskyi [ 2011 Oct 20 ] |
Dev branch tested. Works as expected. |
Comment by Oleksii Zagorskyi [ 2011 Oct 21 ] |
(1) Bad thing that it's hard to distinguish the current type of interface which is grayed out. <Vedmak> RESOLVED made disabled buttons be less grayed out. <zalex> now is better, but I could not to say that excellent <asaveljevs> CLOSED |
Comment by Aleksandrs Saveljevs [ 2011 Oct 21 ] |
(2) Not sure what needs to be done to get that error in host configuration, but it is possible: Undefined index: items [include/views/configuration.host.edit.php:94] <Vedmak> RESOLVED <asaveljevs> CLOSED |
Comment by Alexey Fukalov [ 2011 Oct 24 ] |
svn://svn.zabbix.com/trunk 22620 |