[ZBX-9065] Default value for screens_items.max_columns in schema.inc.php is incorrect Created: 2014 Nov 21 Updated: 2017 May 30 Resolved: 2014 Dec 02 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 2.4.2, 2.5.0 |
Fix Version/s: | 2.4.3rc1, 2.5.0 |
Type: | Incident report | Priority: | Critical |
Reporter: | Alexander Vladishev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | dbpatches | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
$ php create/bin/gen_php.php $ mv create/src/schema.inc.php frontends/php/include/. $ svn di Index: frontends/php/include/schema.inc.php =================================================================== --- frontends/php/include/schema.inc.php (revision 50710) +++ frontends/php/include/schema.inc.php (working copy) @@ -494,7 +494,7 @@ 'null' => false, 'type' => DB::FIELD_TYPE_INT, 'length' => 10, - 'default' => '1', + 'default' => '3', ), ), ), |
Comments |
Comment by Alexander Vladishev [ 2014 Nov 21 ] |
The issue was moved from |
Comment by Krists Krigers (Inactive) [ 2014 Nov 21 ] |
Column "max_columns" has a meaning only in context of resource types "19" (simple graph prototypes) and "20" (graph prototypes). |
Comment by Alexander Vladishev [ 2014 Nov 25 ] |
Ok, please fix it in schema.inc.php and describe it in the documentation: Zabbix API changes in 2.4 |
Comment by Krists Krigers (Inactive) [ 2014 Nov 25 ] |
It is not quite clear to me what to write in API changelog regarding default value change in schema.inc.php. sasha Please fix the default value in schema.inc.php and describe the problems which it will fix in API changelog. Default value for this field in schema.inc.php is incorrect. |
Comment by Krists Krigers (Inactive) [ 2014 Nov 26 ] |
Schema file fixed in r50875, branch svn://svn.zabbix.com/branches/dev/ZBX-9065 (copy of branches/2.4). |
Comment by Krists Krigers (Inactive) [ 2014 Nov 26 ] |
(1) No string changes. sasha CLOSED |
Comment by Krists Krigers (Inactive) [ 2014 Nov 26 ] |
(2) Update API changelog for 2.4: https://www.zabbix.com/documentation/2.4/manual/api/changes_2.4. sasha RESOLVED martins-v Reviewed. CLOSED. |
Comment by Krists Krigers (Inactive) [ 2014 Dec 01 ] |
Fixed and merged to:
|