A.F....... [ZBX-6465] fixed incorrect API parameter passing in host edit form;
hacked inventory check to work with wrongly implemented import;
moved value unset before the actual function call to make it more readable;
fixed undefined index, when inventory mode is not set in API call.
A......... [ZBX-6407] Improved data retrieval performance for CTrigger get() with post SQL filtering;
Implemented algorithm for estimating query limit for post SQL filtering in CTrigger get() method. Now it calculates next query limit taking account how many triggers was retrieved from previous query. But as well it takes as limit at least initial limit multiplied by n power of 2, where n is number of executed queri...
A.........[ZBX-6465] added check for input check to check if inventory fields is no set while setting inventory mode to disabled to work with update and create methods.
A......... [ZBXNEXT-928] application.get: implemented templateids property support..F....... [ZBXNEXT-928] changed the application configuration list to support the new application inheritance logic
..F....... [ZBXNEXT-1575] fixed item mass update disabling itemsBefore the fix:
- Performing a mass update on an item without updating the status would disable it. Broken by r34766.
After the fix:
- Mass updating an item no longer affects the status of the item.
A......... [ZBX-6465] fixed that some values where not unset causing 'Cannot perform update statement on table "hosts" without values.' exception.Moved value unset before the actual function call to unset them either way.
A......... [ZBX-6407] Improved data retrieval performance for CTrigger get() with post SQL filtering;
Implemented algorithm for estimating query limit for post SQL filtering in CTrigger get() method. Now it calculates next query limit taking account how many triggers was retrieved from previous query. But as well it takes as limit at least initial limit multiplied by n power of 2, where n is number of executed queri...
..F.......[ZBX-6529] changed iteration in DBConditionInt from cursor to foreach() which doesn't copy whole input id list, so using less memory; this reduced memory usage in this function by ~22% with small data sets and up to 95% with large data sets.
..F....... [ZBXNEXT-1] removed very old "last value" formatting which caused problems in image string showing spaces as "nbsp;" and by that didn't do anything useful, as now HTML escaping is implemented in CTag encode method;
fixed undefined index in maps.inc.php.