[ZBX-8950] Cannot export map if iconmap is used Created: 2014 Oct 24 Updated: 2017 May 30 Resolved: 2015 Jan 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.4.1 |
Fix Version/s: | 2.4.4rc1, 2.5.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Jens Berthold | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | export, iconmapping, maps | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
When I try to export any map the XML file contains (only) the following error message: [error] Undefined index: sysmapid [sysmaps.php:112 → CConfigurationExport->export() → CConfigurationExport->gatherData() → CConfigurationExport->gatherMaps() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CMap->get() → CMap->addRelatedObjects() → CApiService->createRelationMap() in /var/www/zabbix/include/classes/api/CApiService.php:327] |
Comments |
Comment by richlv [ 2014 Oct 24 ] |
i'm getting the same, but only for a certain map that references other map. i have not tracked it down yet or reproduced with a map, created from the scratch. have you been able to do that ? |
Comment by Jens Berthold [ 2014 Oct 24 ] |
I tried it now from scratch: when I create a new map, everything is fine. |
Comment by richlv [ 2014 Oct 24 ] |
indeed, i can confirm that - thanks for figuring it out |
Comment by richlv [ 2014 Oct 24 ] |
for the record, just selecting icon mapping for the map is enough, it is not needed to use it on any element for the problem to appear |
Comment by Oleg Egorov (Inactive) [ 2014 Nov 05 ] |
(1) Related issue iivs Provided fix also fixes this issue. Good work! CLOSED. |
Comment by Oleg Egorov (Inactive) [ 2014 Nov 07 ] |
RESOLVED IN svn://svn.zabbix.com/branches/dev/ZBX-8950 r50510 |
Comment by Oleg Egorov (Inactive) [ 2014 Dec 17 ] |
(2) No string changes. iivs CLOSED. |
Comment by Ivo Kurzemnieks [ 2014 Dec 17 ] |
(3) Using "selectIconMap" option, "iconmapid" is now mandatory for "output". iivs I fixed the issue in r51245, r51257 please review. oleg.egorov Very good improvement! CLOSED |
Comment by Ivo Kurzemnieks [ 2014 Dec 18 ] |
TESTED, but review and close (3) before merging. |
Comment by Oleg Egorov (Inactive) [ 2014 Dec 19 ] |
FIXED IN 2.4.4rc1 r51262 and 2.5.0(trunk) r51263 |
Comment by Oleg Egorov (Inactive) [ 2014 Dec 19 ] |
Documented: |