[ZBX-6133] Undefinex index error when importing template Created: 2013 Jan 16  Updated: 2017 May 30  Resolved: 2013 Jan 17

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

Type: Incident report Priority: Minor
Reporter: Kodai Terashima Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: frontend, templates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File undefined index error.png     XML File undefined-index-error-template.xml    
Issue Links:
Duplicate

 Description   

Undefined index error happens when importing attached template with following procedure:

1. import attached template
2. change hostname and visible name on one host
3. import attached (same) template with unchecking all "update existing" option.

Error message on frontend:
Undefined index: xxxxxxx[include/classes/import/importers/CHostImporter.php:103]



 Comments   
Comment by Pavels Jelisejevs (Inactive) [ 2013 Jan 17 ]

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

Before importing the file, create the following templates: 04_Template TEST ABC, 04_Template TEST DEF, 04_Template TEST GHI.

Comment by Oleg Egorov (Inactive) [ 2013 Jan 18 ]

Please, fix code style in CHostImporter.php: [102-107]

TESTED

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

Fixed in 2.0.5rc1 r32947 and 2.1.0 r32948.

CLOSED.

Generated at Wed Apr 24 11:53:47 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.