[ZBXNEXT-2036] Ship Zabbix frontend with icon mapping example and bg image Created: 2013 Nov 20  Updated: 2013 Nov 21

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Installation (I)
Affects Version/s: 2.3.0
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: jabalv Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: iconmapping, images
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I think would be good to ship Zabbix with icon mapping example and background image as example Latvian map in Local network map?






[ZBXNEXT-1608] Automatic selection of map icons problem Created: 2012 Jun 26  Updated: 2020 Sep 25

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: None

Type: Change Request Priority: Minor
Reporter: Bogusław Sikora Assignee: Unassigned
Resolution: Unresolved Votes: 4
Labels: iconmapping, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-7396 Icon mapping not working at configura... Closed
Sub-task

 Description   

Automatic selection of map icons according to selected icon map is not visible in the maps editor. It works correctly in the maps monitoring. In the maps editor the default icon from selected icon map is always used, regardless existing correct match. It makes difficult to position icons on maps.



 Comments   
Comment by richlv [ 2013 Feb 04 ]

that's by design. to help with performance, we should probably introduce an option, similar to "expand macros" for iconmapping





[ZBX-14400] Automatic icon mapping Created: 2018 May 25  Updated: 2018 May 31  Resolved: 2018 May 31

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.8, 3.4.9
Fix Version/s: None

Type: Problem report Priority: Minor
Reporter: Matt Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: auto, icon, iconmapping, iconmaps, map, mapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File correcticon.png     PNG File editagain.png     PNG File editmap.png     PNG File iconmap.png    
Issue Links:
Duplicate
duplicates ZBX-12359 Can't change icon of host map element... Closed

 Description   

Steps to reproduce:

  1. create and icon mapping set (see screenshot)
  2. create a new map and choose automatic icon mapping and chose icon map
  3. save and edit map
  4. add icon (will show default icon, in my case a server)
  5. configure icon to match one of the mappings from the automatic icon map.  a switch has been used in my example.  (choosing a host type and choosing a switch as the host)
  6. upon hitting apply, the default server icon does not change, but a little cloud icon gets added to the top of it.  Neither of these icons should be being displayed.
  7. save and view the map -> correct icon is displayed (a switch icon)
  8. edit map again -> incorrect icons displayed again

Result:
See screenshots

Expected:

automatic icons both while editing and when viewing



 Comments   
Comment by Matt [ 2018 May 25 ]

Others seem to have problem too: https://www.zabbix.com/forum/zabbix-help/358854-creating-maps-and-automatic-icons-incorrect-on-constructor

Comment by Alexander Vladishev [ 2018 May 31 ]

Closed as duplicate of ZBX-12359.





[ZBX-13673] Incorrect regular expression validation (at least in Icon Mapping) Created: 2018 Mar 29  Updated: 2018 Dec 11  Resolved: 2018 Dec 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 4.0.0alpha6
Fix Version/s: 4.0.3rc1, 4.2.0alpha2, 4.2 (plan)

Type: Problem report Priority: Minor
Reporter: Glebs Ivanovskis (Inactive) Assignee: Gregory Chalenko
Resolution: Fixed Votes: 0
Labels: iconmapping, regularexpression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File invalid_regular_expression.png    
Team: Team D
Sprint: Sprint 46, Nov 2018, Sprint 47, Dec 2018
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Go to Administration→General
  2. Select Icon mapping
  3. Click Create icon map
  4. Enter some silly Name
  5. Enter / in Expression field
  6. Click Add button

Result:
See invalid_regular_expression.png

Cannot create icon map
Invalid parameter "/1/mappings/1/expression": invalid regular expression. [adm.iconmapping.php:70 ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? CIconMap->create() ? CIconMap->validateCreate() ? CApiService::exception() in include/classes/api/services/CIconMap.php:192]

Expected:
Icon map is successfully created because / is a valid regular expression (check it here), forward slash is not a special character.

Comments:
Even though forward slash is not a special character it needs to be escaped in the pattern if forward slash is also used as delimiter (which is a very common practice). Unfortunately, preg_quote() cannot be used here because we don't want to escape special characters user wants to provide in his/her pattern. The best approach would probably be to surround user pattern with parentheses, brackets or braces as suggested in this wonderful article.



 Comments   
Comment by Gregory Chalenko [ 2018 Nov 12 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-13673.

Comment by Gregory Chalenko [ 2018 Dec 05 ]

Fixed in:

  • 4.0.3rc1 r87560
  • 4.2.0alpha2 r87561




[ZBX-12359] Can't change icon of host map element, if selected icon mapping in map properties Created: 2017 Jul 07  Updated: 2018 May 31  Resolved: 2018 May 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.4.0alpha1
Fix Version/s: 3.4.10rc1, 4.0.0alpha7, 4.0 (plan)

Type: Problem report Priority: Minor
Reporter: Natalja Romancaka Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: iconmapping, map
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File two_icons.png    
Issue Links:
Duplicate
is duplicated by ZBX-14400 Automatic icon mapping Closed
Team: Team B
Sprint: Sprint 32, Sprint 33, Sprint 34
Story Points: 0.25

 Description   

Steps to reproduce:
1. Create icon mapping
2. Create map and select icon mapping
3. Add host element
4. Open element properties, uncheck 'Automatic icon selection' and change element default icon
5. Save map
6. Open map constructor and select element
Result: option 'Automatic icon selection' checked and icon block disabled
Expected result: option 'Automatic icon selection' unchecked and icon block enabled

Also in map constructor displayed two icons of element, one default icon mapping and one default map element icon



 Comments   
Comment by Ivo Kurzemnieks [ 2018 May 08 ]

(1) No translation string changes.

HunterCRS CLOSED

Comment by Ivo Kurzemnieks [ 2018 May 08 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-12359





[ZBX-11196] Default value for icon map mappings sortorder should be calculated instead of 0. Created: 2016 Sep 12  Updated: 2017 May 30  Resolved: 2016 Sep 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 3.2.0rc2
Fix Version/s: 3.2.1rc1, 3.4.0alpha1

Type: Incident report Priority: Minor
Reporter: vitalijs.cemeris (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: api, iconmapping, mapping, sorting
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Sort order of icon map mappings when they are created/updated should be in same order as they are in API request (if no sortorder property is specified).



 Comments   
Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 13 ]

(1) No translation strings changed.

gunarspujats CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 13 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-11196

Comment by Gunars Pujats (Inactive) [ 2016 Sep 14 ]

Successfully tested.

Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 15 ]

Fixed in:

  • pre-3.2.1rc1 r62546
  • pre-3.3.0 r62547
Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 15 ]

(2) [D] Change Description for icon map mappings object sortorder property 3.2.
RESOLVED

sasha CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 15 ]

(3) [D] Zabbix API changes in 3.2: Changed default sortorder value of icon map mappings

RESOLVED

sasha Rephrased a bit. CLOSED





[ZBX-11195] Incorrect iconmapping control alignment Created: 2016 Sep 12  Updated: 2017 May 30  Resolved: 2016 Nov 14

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.5rc1, 3.2.0rc2
Fix Version/s: 3.0.6rc1, 3.2.2rc1, 3.4.0alpha1

Type: Incident report Priority: Trivial
Reporter: Ivo Kurzemnieks Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: design, iconmapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File iconmapping.png    

 Description   

It looks like drag-and-drop handle and the image are aligned to the top, but dropdowns are aligned to the bottom.



 Comments   
Comment by Pavel Amosov (Inactive) [ 2016 Sep 14 ]

One solution could be to apply vertical-align: middle to the cell that houses the icon. Without making a special CSS class...

Comment by Oleg Egorov (Inactive) [ 2016 Nov 04 ]

(1) No translation string changes.

iivs CLOSED

Comment by Oleg Egorov (Inactive) [ 2016 Nov 04 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-11195 r63549

Comment by Natalja Romancaka [ 2016 Nov 07 ]

(2) in update form looks good, but when create new icon mapping looks the same as in iconmapping.png

oleg.egorov RESOLVED in r63571

natalja.zabbix ui tested

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 Nov 10 ]

Can't say that I like it. Images with smaller height are not aligned to middle. Some are aligned more to the top and some to the bottom of the cell. The only time they look good, is when image's height is 24px. Unfortunately I haven't found anything better for now, so ...

TESTED.

Comment by Oleg Egorov (Inactive) [ 2016 Nov 10 ]

Fixed in:

  • pre-3.0.6rc1 r63691
  • pre-3.2.2rc1 r63692
  • pre-3.3.0 (trunk) r63693




[ZBX-8994] Cannot export icon mapping in map export Created: 2014 Nov 05  Updated: 2017 May 30  Resolved: 2014 Dec 17

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 2.2.8rc1
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Oleg Egorov (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: export, iconmapping, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by ZBX-8950 Cannot export map if iconmap is used Closed

 Description   

I have 2 icon mapping:
1) test
2) test2

And 3 maps:
1) test with icon mapping test
2) test2 with icon mapping test2
3) test3 with icon mapping test

Map export (should be selected 3 maps)

Export result:
test map - ok
test2 map - ok
test3 map - without icon mapping



 Comments   
Comment by Oleg Egorov (Inactive) [ 2014 Nov 07 ]

Will be fixed under ZBX-8950

Comment by Oleg Egorov (Inactive) [ 2014 Dec 17 ]

CLOSED AS DUPLICATE





[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:
Duplicate
duplicates ZBX-8994 Cannot export icon mapping in map export Closed

 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.
As soon as I assign an "Automatic icon mapping" the error occurs.
Maybe you can change to issue title to "... with automatic icon mapping".

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 ZBX-8994

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:
https://www.zabbix.com/documentation/2.4/manual/api/changes_2.2_-_2.4?&#map





[ZBX-6635] "Undefined index: iconmappingid" and other errors when creating an icon map Created: 2013 May 29  Updated: 2017 May 30  Resolved: 2013 May 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Incident report Priority: Blocker
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: iconmapping, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

create a new iconmap, leave one expression field empty, try to save :

Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]

fill in the expression field, try to save.

Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: expression [views/administration.general.iconmap.edit.php:54]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]
Undefined index: iconid [views/administration.general.iconmap.edit.php:59]
Undefined index: iconid [views/administration.general.iconmap.edit.php:63]
Undefined index: iconid [views/administration.general.iconmap.edit.php:64]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: inventory_link [views/administration.general.iconmap.edit.php:51]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]
Undefined index: iconid [views/administration.general.iconmap.edit.php:59]
Undefined index: iconid [views/administration.general.iconmap.edit.php:63]
Undefined index: iconid [views/administration.general.iconmap.edit.php:64]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:47]
Undefined index: inventory_link [views/administration.general.iconmap.edit.php:51]
Undefined index: expression [views/administration.general.iconmap.edit.php:54]
Undefined index: iconmappingid [views/administration.general.iconmap.edit.php:57]

regression, broken by :

r31864 | pavels | 2012-12-04 11:51:13 +0200 (Tue, 04 Dec 2012) | 4 lines

A.F....... ZBX-5927 fixed selectMappings returning a hash of mappings instead of an array in iconmap.get
A.F....... ZBX-5927 fixed preservekeys affecting selectSelements and selectLinks in map.get
A.F....... ZBX-5927 removed unused selectLinks parameter from CMapElement::getSelements()
A......... ZBX-5927 code refactoring



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2013 May 30 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6635.

Comment by Oleg Egorov (Inactive) [ 2013 May 30 ]

TESTED

Comment by Pavels Jelisejevs (Inactive) [ 2013 May 31 ]

Fixed in 2.1.0 r36019.

CLOSED.





[ZBX-6290] Icon mappings broken Created: 2013 Feb 18  Updated: 2017 May 30  Resolved: 2013 Feb 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.5
Fix Version/s: 2.0.6rc1, 2.1.0

Type: Incident report Priority: Blocker
Reporter: Andres Abelardo Villarroel Acosta Assignee: Unassigned
Resolution: Fixed Votes: 1
Labels: iconmapping, inventory, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS Linux release 6.0 (Final)
Release: 6.0
Codename: Final

php -v
PHP 5.3.8 (cli) (built: Sep 25 2011 11:33:49)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

httpd -v
Server version: Apache/2.2.15 (Unix)
Server built: Jul 7 2011 11:30:37

/usr/libexec/mysqld -V
/usr/libexec/mysqld Ver 5.5.23 for Linux on x86_64 (MySQL Community Server (GPL) by Remi)


Attachments: PNG File 2013-02-18-113807_1280x1024_scrot.png     PNG File 2013-02-18-113931_1280x1024_scrot.png     PNG File 2013-02-18-113936_1280x1024_scrot.png    

 Description   

Installed 2.0.4, after 2.0.5 upgrade frontend, maps with icon mappings shows the attached error. No database upgrade done.

Undefined index: os_full [include/maps.inc.php:2219]
Undefined index: type [include/maps.inc.php:2219]



 Comments   
Comment by Virchich Ruslan [ 2013 Feb 18 ]

I have the same issue.
Problem appeared when I upgraded from 2.0.3 to 2.0.5

Comment by Oleksii Zagorskyi [ 2013 Feb 19 ]

This problem looks very similar to (29) in ZBXNEXT-1323 which related to trunk only.
I was able to reproduce it on 2.0.5 release with a bit different conditions (than in the ZBXNEXT-1323):

1. any dummy automatic icon mapping should exist
2. this icon mapping is selected in a map configuration
3. "Automatic icon selection" in a map element should be enabled and this map element should be a host
4. "Host inventory" mode for this host is Manual or Automatic (is there any value for inventory or not - doesn't matter)

CONFIRMED

Comment by Eduards Samersovs (Inactive) [ 2013 Feb 20 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-6290

Comment by Pavels Jelisejevs (Inactive) [ 2013 Feb 21 ]

TESTED.

Comment by Eduards Samersovs (Inactive) [ 2013 Feb 21 ]

Fixed in versions pre-2.1.0 (beta) r33833, pre-2.0.6rc1 r33834

Comment by Volker Fröhlich [ 2013 Mar 07 ]

Will be included in EPEL 2.0.5 releases after 2.0.5-1.





[ZBX-5965] It's possible to enable automatic icon selection for a map with no icon mapping. Created: 2012 Dec 10  Updated: 2017 Oct 18  Resolved: 2017 Oct 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.4
Fix Version/s: 2.0.5rc1

Type: Incident report Priority: Minor
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Unsupported version Votes: 1
Labels: iconmapping, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Create a map with no icon mapping, then add a new host element. When adding the element, the "Automatic icon selection" check box must be disabled. It works correctly when editing an existing element.



 Comments   
Comment by richlv [ 2015 May 04 ]

confirming, still the same in trunk





[ZBX-5927] Several subselects return hashes instead of arrays Created: 2012 Dec 03  Updated: 2017 May 30  Resolved: 2012 Dec 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 2.0.3, 2.1.0
Fix Version/s: 2.1.0

Type: Incident report Priority: Major
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: api, iconmapping, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

iconmap.get selectMappings always returns a hash of mappings instead of an array. Map.get selectSelements and selectLinks returns a hash of objects if preservekeys is used; same thing for CMapeElement::getSelement() selectLinks. This behavior is incorrect, preservekeys must not affect subselects.



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2012 Dec 03 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-5927.

oleg.egorov CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2012 Dec 03 ]

CMapeElement::getSelement() selectUrls is not used at all, so I've removed it.

oleg.egorov selectUrls - exist, removed selectLinks in dev. branch

jelisejev Sorry, I've meant selectLinks.

oleg.egorov CLOSED

Comment by Oleg Egorov (Inactive) [ 2012 Dec 04 ]

Tested!

Comment by Pavels Jelisejevs (Inactive) [ 2012 Dec 04 ]

Fixed in 2.1.0 r31864.

CLOSED.

Comment by richlv [ 2013 May 29 ]

this resulted in a regression : ZBX-6635





[ZBX-5680] after an error new icon mapping entries are added as disabled Created: 2012 Oct 09  Updated: 2017 May 30  Resolved: 2012 Oct 12

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: None
Fix Version/s: 2.0.4rc1, 2.1.0

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: iconmapping, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

create icon map, add an entry but do not enter the name. attempt to save.
add new icon mapping entries - they are added in a disabled state.

same if trying to save icon mapping entries with empty regexp

broken by :

------------------------------------------------------------------------
r28241 | tomtom | 2012-06-14 10:18:06 +0300 (Thu, 14 Jun 2012) | 1 line

..F....... ZBX-5133 fixed error when adding the first map element



 Comments   
Comment by Alexey Fukalov [ 2012 Oct 12 ]

Fixed in ZBX-5679

Comment by Eduards Samersovs (Inactive) [ 2012 Oct 17 ]

Tested!





[ZBX-4584] unsuccessful iconmap update claims it was "creating" Created: 2012 Jan 26  Updated: 2017 May 30  Resolved: 2012 Jan 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: None
Fix Version/s: 1.9.9 (beta)

Type: Incident report Priority: Minor
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: iconmapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

splitting out (9) from ZBXNEXT-785

class.ciconmap.php : public function update(array $iconMaps)
"self::exception(ZBX_API_ERROR_PERMISSIONS, _('Only super admins can create icon maps.'));"

update function claims creation was unsuccessful



 Comments   
Comment by Alexey Fukalov [ 2012 Jan 26 ]

svn://svn.zabbix.com/trunk 25028





[ZBX-4483] Icons are distorted in some places in the frontend Created: 2011 Dec 23  Updated: 2017 May 30  Resolved: 2011 Dec 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: None
Affects Version/s: 1.9.8 (beta)
Fix Version/s: 1.9.9 (beta)

Type: Incident report Priority: Blocker
Reporter: Pavels Jelisejevs (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: iconmapping
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File icon-mapping-skew.png    

 Description   

For instance, in the configuration of icon mapping



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 27 ]

I've added a server-side icon resizing feature we use to properly scale icons.

RESOLVED.

Comment by Alexey Fukalov [ 2011 Dec 28 ]

(1) [GUI]
There are 3 places we do "imagealphablending($source, false); imagesavealpha($source, true);" for image, maybe we can do it in one place?

<pavels> I've implemented a separate function for it, but we have to do it even if we don't resize the image. RESOLVED.

<pavels> CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 30 ]

There have been some conflicts when updating to the latest trunk, plus I've fixed another small bug. Please review.

REOPENED.

<Vedmak> CLOSED

Comment by Pavels Jelisejevs (Inactive) [ 2011 Dec 30 ]

Merged to trunk r24444.

CLOSED.





[ZBX-4265] errors in maps for guest user, related to iconmapping Created: 2011 Oct 24  Updated: 2017 May 30  Resolved: 2011 Oct 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.6 (beta)
Fix Version/s: 2.0.0

Type: Incident report Priority: Blocker
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: iconmapping, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

trun rev 22624.



 Description   

Error in query [SELECT * FROM images WHERE imageid=] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
mysql_fetch_assoc() expects parameter 1 to be resource, boolean given [include/db.inc.php:594]
mysql_free_result() expects parameter 1 to be resource, boolean given [include/db.inc.php:596]
imagecreatefromstring(): Empty string or invalid image [include/maps.inc.php:306]

------------------------------------------------------------------------
r21499 | eduards | 2011-09-06 09:41:16 +0300 (Tue, 06 Sep 2011) | 1 line

  • ZBXNEXT-785 support of automatic selection of map icon element depending on element type

this seems to happen is there's an iconmapping that doesn't match (but this doesn't happen for a superadmin user...)



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2011 Oct 26 ]

Could you please explain, how to reproduce this bug?

Comment by richlv [ 2011 Oct 26 ]

not sure how to reproduce it from the scratch - but it can be seen at https://zabbix.org/zabbix/maps.php?sysmapid=8
errors go away if i disable iconmapping for this map

Comment by Pavels Jelisejevs (Inactive) [ 2011 Oct 27 ]

There was a bug with permissions. RESOLVED.

Comment by Pavels Jelisejevs (Inactive) [ 2011 Oct 31 ]

Merged to trunk revision r22795. CLOSED.





[ZBX-4114] icon mapping page height changes while dragging an element Created: 2011 Sep 06  Updated: 2017 May 30  Resolved: 2011 Sep 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.5 (alpha)
Fix Version/s: 2.0.0

Type: Incident report Priority: Trivial
Reporter: richlv Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: iconmapping, trivial, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

edit an iconmap with multiple mappings, drag one mapping up or down. as soon as drag operation starts, page height is reduced, then, as soon as the element is dropped, page height increases again. ugly

reproduced in opera 11.50, konqueror 4.6 and firefox 6.0 (huh)



 Comments   
Comment by Alexey Fukalov [ 2011 Sep 15 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4114

Comment by Alexey Fukalov [ 2011 Sep 19 ]

svn://svn.zabbix.com/trunk 21749





Generated at Fri Mar 29 13:03:53 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.