[ZBX-9784] ERROR: Cannot add host, Incorrect arguments passed to function. Created: 2015 Aug 18 Updated: 2017 May 30 Resolved: 2016 Feb 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.4.6 |
Fix Version/s: | 2.4.8rc1, 3.0.0rc1 |
Type: | Incident report | Priority: | Major |
Reporter: | Harri | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | cloning | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | debug.output | ||||
Issue Links: |
|
Description |
Trying to clone an existing host "gate6a" to "gate4a" I got Incorrect arguments passed to function. [hosts.php:504 ? CFrontendApiWrapper->create() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CHost->create() ? CHost->massAdd() ? CHostInterface->massAdd() ? CHostInterface->create() ? CHostInterface->checkInput() ? CApiService::exception() in /usr/share/zabbix/include/classes/api/services/CHostInterface.php:259] Debug output is attached. |
Comments |
Comment by Gunars Pujats (Inactive) [ 2015 Aug 21 ] |
Harri, what OS, browser (name/version) and Zabbix version were you using when got this error? |
Comment by Harri [ 2015 Oct 09 ] |
Sorry for the delay. I reproduced it just this moment. Web client:
Zabbix Server:
Hope this helps gunarspujats Hi, Harri! Can You please attach POST data from host cloning form? |
Comment by Philipp Noack [ 2015 Nov 09 ] |
Same problem for me. Using the packages that came with Ubuntu 15.10. My version is 2.4.6. |
Comment by Philipp Noack [ 2015 Nov 12 ] |
Remote Address:<removed>:443 Response Headers Request Headers Form Data |
Comment by Gunars Pujats (Inactive) [ 2015 Nov 20 ] |
(1) No translation strings changed. iivs CLOSED |
Comment by Gunars Pujats (Inactive) [ 2015 Nov 20 ] |
RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-9784 |
Comment by Philipp Noack [ 2015 Nov 20 ] |
I have eliminated the problem by manually upgrading to version 2.4.7 (from the Zabbix Repo). gunarspujats In Debian/Ubuntu repository Zabbix frontend is modified to use jQuery and Prototype JS libraries from system (/usr/share/javascript). That caused problem, because latest Prototype.js broke host edit form. Now form is fixed and should work with latest Prototype. iivs Using other user-created packages, can result in unexpected behaviour. Please, use offical packages. The prototype version we use is 1.6.1 |
Comment by Ivo Kurzemnieks [ 2016 Jan 29 ] |
(2) Bulk requests not saving when using prototype v1.7.1 RESOLVED in r58079 gunarspujats CLOSED |
Comment by Ivo Kurzemnieks [ 2016 Jan 29 ] |
TESTED, but close (2) before merging. |
Comment by Ivo Kurzemnieks [ 2016 Feb 02 ] |
(3) r56801 features not an update but silently adds new code that was not in latest branch. These changes require review. gunarspujats Changes made in r56801 are reverted in r58191. iivs Good. |
Comment by Gunars Pujats (Inactive) [ 2016 Feb 03 ] |
Fixed in:
|