[ZBX-7809] Changing Y min/max value from 'item' to other type does not reset the corresponding database fields to null Created: 2014 Feb 13 Updated: 2017 May 30 Due: 2014 Apr 16 Resolved: 2014 Apr 15 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.11rc2 |
Fix Version/s: | 2.2.4rc1, 2.3.0 |
Type: | Incident report | Priority: | Minor |
Reporter: | Andris Zeila | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | consistency, graphs | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Steps: Result: Expected result: |
Comments |
Comment by Alexander Vladishev [ 2014 Feb 17 ] |
@2.2: When deleting such items an incorrect error occurred: ERROR: Cannot delete item No permissions to referred object or it does not exist! |
Comment by Eduards Samersovs (Inactive) [ 2014 Feb 18 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7809 |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 19 ] |
(1) In CGraph.php:729-732, used construction $field.'_itemid' Eduards RESOLVED r.42805 oleg.egorov This construction still exist Eduards RESOLVED r.42848 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 19 ] |
(2) Open graph, change Y axis MIN value to fixed and set "-", then again change Y axis MIN value to item and set any correct item. Eduards RESOLVED r.42866 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 19 ] |
(3) Fixed value should be removed, if changed type Eduards RESOLVED r.42866 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 19 ] |
(4) Remove graph items -> Save -> Graph updated Eduards RESOLVED r.42879 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 25 ] |
Please revert css and style changes Eduards RESOLVED r.42984 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 25 ] |
(5) In graph edit, fixed value is 0.0000 and 100.0000, but should be 0 and 100 Eduards RESOLVED r.43002 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 25 ] |
(6) Select fixed Y max, for example, and it should be empty, press save. oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 27 ] |
(7) Function "formatValueByScale" should be documented Eduards This function is removed r.43092 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 27 ] |
(8) Now in fixed Y min/max impossible add large values, In 2.2 was ok Eduards RESOLVED r.43092 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 27 ] |
(9) After saving with error, reset incorrect value to 0, or other value Eduards RESOLVED r.43092,r.43096 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 28 ] |
(10) Incorrect floating part of numeric value "0.00000". Incorrect number part of numeric value "9999999999999999999999999999". Please add more details in error messages Eduards RESOLVED r.43686 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 28 ] |
(11) "Y axis MIN value" set Fixed and value 18+ This will result in endless process with high CPU usage. Eduards Cannot reproduce oleg.egorov Will be fixed in |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 28 ] |
(12) New validation is OK, but in the same form somewhere it is, somewhere isn't...
Eduards RESOLVED r.43692 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 28 ] |
(13) For T_ZBX_DBL exist first part validation, and for T_ZBX_BIG_DBL not exist. Eduards RESOLVED r.43686 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 28 ] |
(14) Fatal/Blocker errors should be displayed as error, not info in validate.inc.php Eduards RESOLVED r.43686 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 28 ] |
(15) Big code duplication in validate.inc.php Eduards RESOLVED r.43686 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Feb 28 ] |
(16) In defines.inc.php added new type - T_ZBX_BIG_DBL with value 3, but this type was used before for T_ZBX_PERIOD. This changes should be reverted and T_ZBX_BIG_DBL please change from 3 to 9 Eduards RESOLVED r.43686 oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Mar 04 ] |
(17) Some CNumericValidator validator issues:
Eduards RESOLVED r.43686 oleg.egorov CLOSED |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Mar 04 ] |
(18) The error messages are incorrect, I suggest to change them to:
Eduards RESOLVED r.43686 oleg.egorov CLOSED |
Comment by Alexey Pustovalov [ 2014 Mar 05 ] |
Just for a note, it can call the next error with queries: [Z3005] query failed: [1451] Cannot delete or update a parent row: a foreign key constraint fails (`zabbix`.`graphs`, CONSTRAINT `c_graphs_3` FOREIGN KEY (`ymax_itemid`) REFERENCES `items` (`itemid`)) [delete \ from screens_items where resourcetype in (3,1) and resourceid=471004; delete from profiles where idx='web.favorite.graphids' and source='itemid' and value_id=471004; delete from items where itemid=471004; |
Comment by richlv [ 2014 Mar 11 ] |
just another note on some topics we all know about... a) "In graph edit, fixed value is 0.0000 and 100.0000, but should be 0 and 100" - how do you know ? oleg.egorov Was discussed. b) looking at all the subissues i have to wonder how much time we will waste on fixing things over and over again before test-driven development will finally happen |
Comment by richlv [ 2014 Mar 25 ] |
(19) this issue has been set to "resolved", but nothing has been added regarding potentially changed translatable srtings 2.2 new strings:
<richlv> "then" has been used in place of "than" Eduards RESOLVED r.43742 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Mar 26 ] |
(20) Y axis MIN value fixed: 99999999999999999 (17 digits) Go yo preview. OK, go back and set 9999999999999999 (16 digits) Error: Page received incorrect data 16 -> 12... Eduards RESOLVED r.43754 oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Mar 27 ] |
(21) Create new graph Error message: But I don't press on "Save" button. oleg.egorov CLOSED |
Comment by Oleg Egorov (Inactive) [ 2014 Mar 27 ] |
TESTED |
Comment by Eduards Samersovs (Inactive) [ 2014 Apr 07 ] |
Fixed in versions 2.3.0 (trunk) r.44133, 2.2.4rc1 r.44132 |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Apr 15 ] |
(22) Instead of implementing CDecimalValidator::$label you should use CDecimalValidator::setObjectName(). Eduards RESOLVED r.44423 in development branch svn://svn.zabbix.com/branches/dev/ZBX-7809 jelisejev Please list all of the translatable strings that have been changed in this fix. Eduards Already done in (19) |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Apr 16 ] |
(23) The API changelog has not been updated. Eduards RESOLVED in https://www.zabbix.com/documentation/2.2/manual/api/changes_2.2?&#graph |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Apr 16 ] |
The fix is ok, but the dev branch has been created for trunk, while the problem also needs to be fixed in 2.2. Don't forget to fix it there. Also, close (22) before merging. TESTED. |
Comment by Eduards Samersovs (Inactive) [ 2014 Apr 16 ] |
Fixed in versions 2.3.0 (trunk) r.44504, 2.2.4rc1 r.44503 |
Comment by richlv [ 2014 Sep 09 ] |
this has resulted in a regression : |