[ZBX-6348] "0" = "00" = "000...0" in frontend Created: 2013 Mar 05 Updated: 2017 May 30 Resolved: 2013 Dec 10 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 2.1.0 |
Fix Version/s: | 2.2.2rc1, 2.3.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Oleg Egorov (Inactive) | Assignee: | Ivo Kurzemnieks |
Resolution: | Fixed | Votes: | 0 |
Labels: | item, keys | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
I create new item: Then i try change 00 to 0 Again I have 00! |
Comments |
Comment by Oleg Egorov (Inactive) [ 2013 Mar 05 ] |
And 0.0 = 0.00 = 00.0 |
Comment by Oleg Egorov (Inactive) [ 2013 Mar 07 ] |
(1) Impossible create host group with name "0" Cannot create group without name. iivs RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6348 r40743 |
Comment by Oleg Egorov (Inactive) [ 2013 Mar 08 ] |
(2) Undefined index: itemid [ in C:\xampp\htdocs\trunk\frontends\php\graphs.php:397] If open graph in "0" host or "0" item oleg.egorov Cannot reproduce, CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Mar 08 ] |
(3) And item prototype, trigger prototype... pages No item with itemid="22452". No item with itemid="22450". No item with itemid="22686". oleg.egorov Cannot reproduce, CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Mar 08 ] |
(4) Templated graphs, where main graph is "0" oleg.egorov Cannot reproduce, CLOSED |
Comment by Oleg Egorov (Inactive) [ 2013 Mar 11 ] |
See |
Comment by Ivo Kurzemnieks [ 2013 Dec 04 ] |
Initial problem with changing item name, keys, units and description RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6348 r40739 |
Comment by Ivo Kurzemnieks [ 2013 Dec 04 ] |
(5) Problems in forms:
If screen resource URL is 0, it says "No URL provided for screen element." Thechnically it's correct because simply entering 0 is not URL. Eduards REOPEN
iivs RESOLVED in r40893 jelisejev "0" is a valid URL. iivs RESOLVED in r40926 jelisejev CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Dec 12 ] |
(6) In CHostGroup.php:483 if (!isset($group['name']) || (isset($group['name']) && zbx_empty($group['name']))) { can be simplified as if (!isset($group['name']) || zbx_empty($group['name'])) { The same in CHttpTest and CTemplate. iivs RESOLVED in r40947 jelisejev Minor change in 40976. CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Dec 12 ] |
(7) I've made a minor improvement in r40923. iivs REVIEWED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Dec 12 ] |
(8) I suggest to remove the zbx_strcmp() function and cast the arguments to strings and use a strict comparison instead. It would also be nice use the CArrayHelper::unsetEqualValues() in places we discussed. iivs RESOLVED in r40947 jelisejev CLOSED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Dec 13 ] |
(9) Another problem. Create a host named "0" and two triggers on it. Then add a dependency from one trigger to the other. You'll see an undefined index error: Undefined index: host [triggers.php:332 → CView->render() → include() in /opt/lampp/htdocs/zabbix/2.2/frontends/php/include/views/configuration.triggers.edit.php:282] iivs RESOLVED in r40949 jelisejev Please review my change in r40974. This check is unnecessary, since selectHosts will always return some result. iivs REVIEWED. |
Comment by Pavels Jelisejevs (Inactive) [ 2013 Dec 14 ] |
TESTED. Please review (9) before merging. |
Comment by Ivo Kurzemnieks [ 2013 Dec 14 ] |
Fixed in pre-2.2.2rc1 r40979 and pre-2.3.0 (trunk) r40981 |