[ZBX-20674] Template import is broken when Debug mode enabled Created: 2022 Feb 25  Updated: 2024 Apr 10  Resolved: 2022 Feb 28

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

Type: Problem report Priority: Trivial
Reporter: Igor Gorbach (Inactive) Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-02-25-11-28-13-968.png     File zbx_export_templates (20).yaml    
Issue Links:
Causes
Duplicate
duplicates ZBXNEXT-7485 PHP8: debug backtrace fix Closed
Team: Team C
Sprint: Sprint 85 (Feb 2022)

 Description   

Steps to reproduce:

  1. Enable debug mode for the usergroup where your frontend user included
  2. Try to import the template attached

Result:

Import failed, see screenshot and full error description

 

Incorrect value "'19805'" for unsigned int field "resourceid". [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupImport->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processTriggers() → CTrigger->create() → CTriggerGeneral->createReal() → CApiService->addAuditBulk() → CAudit::addBulk() → DB::insertBatch() → DB::checkValueTypes() → DB::exception() in include/classes/db/DB.php:396]


 Comments   
Comment by Alexander Vladishev [ 2022 Feb 28 ]

Will be fixed in scope of ZBXNEXT-7485.

Comment by dimir [ 2022 Apr 01 ]

But ZBXNEXT-7485 is already fixed. Will it be re-opened?

Comment by patrik uytterhoeven [ 2022 Apr 01 ]

https://support.zabbix.com/browse/ZBX-20829

 

its certainly not fixed in 6.0.2 and i couldnt find the duplicate of this so i made a new ticket

Generated at Wed Apr 16 19:32:10 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.