-
Change Request
-
Resolution: Unresolved
-
Minor
-
None
-
6.4.19
-
None
Hello Team,
User imports the template with issues resulting in showing Import success in UI but template is not being imported and ends with following error message:
Error in query [COMMIT] [Error on observer while running replication hook 'before_commit'.] [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupImport->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() → trigger_error() in include/db.inc.php:367]
If no template is being imported and error message occurs, then it should not be finished with the success - this notification is misleading for the user.
Another case: user tries to import via API configuration.import method and it results in success, not importing anything and without any error message! This is a behaviour discrepancy and the same error should be reported while trying to import via API as well - also should not indicate success since nothing is imported.