[ZBX-4336] Error not cleared when changing item status to active in frontend. Created: 2011 Nov 09 Updated: 2017 May 30 Resolved: 2012 Apr 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 1.9.8 (beta) |
Fix Version/s: | 1.9.9 (beta), 2.0.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | dimir | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | items, unsupported | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
MySQL 5.1, Debian GNU/Linux. |
Description |
2 ways of changing item status from "not supported" to "active" out of 4 are not working properly. Not working properly meaning here not clearing the error message so on the right of the item an "error" icon is left. Not working ways:
Working ways
|
Comments |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 01 ] |
fixed problem with item status clearing when changing to active in front-end. |
Comment by richlv [ 2011 Dec 01 ] |
(1) i believe spacing at the end of line for this changed block does not conform to the coding style anymore : + $sql = 'SELECT itemid,interfaceid,name,key_,error, hostid,delay,history,status,type,' . <Vedmak> btw, why this sql was changed? We should not allow user change 'error' field anyhow, it's done only by server. |
Comment by Alexey Fukalov [ 2011 Dec 02 ] |
(2) [GUI] <Vedmak> CLOSED |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 02 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4336 |
Comment by Alexey Fukalov [ 2011 Dec 05 ] |
(3) [GUI] <Vedmak> still incorrect at some places. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 05 ] |
(4) [GUI] <Vedmak> try to update any item, error about undefined index status appears. <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 05 ] |
(5) [GUI] else { $sql = 'UPDATE items SET status='.$status.',error='' WHERE itemid='.$item['itemid']; } If/else with same statement <Vedmak> CLOSED |
Comment by Alexey Fukalov [ 2011 Dec 08 ] |
(6)[GUI] |
Comment by Vjacheslav Shipillo (Inactive) [ 2011 Dec 12 ] |
fixed in version pre 1.9.9, revision 23888 |
Comment by richlv [ 2012 Apr 10 ] |
reopen to change labels |