[ZBX-7591] can't delete web scenario step on template Created: 2013 Dec 27  Updated: 2017 May 30  Resolved: 2014 Jan 08

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.2.1
Fix Version/s: 2.2.2rc1, 2.3.0

Type: Incident report Priority: Blocker
Reporter: richlv Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: webmonitoring
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

have template that is linked to host. create web scenario with two steps on the template. try to delete one step - that fails :

Empty input parameter. [httpconf.php:226 ? CAPIObject->update() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CHttpTest->update() ? CHttpTestManager->persist() ? CHttpTestManager->inherit() ? CHttpTestManager->save() ? CHttpTestManager->update() ? CHttpTestManager->deleteStepsReal() ? CItem->delete() ? CZBXAPI::exception() in htdocs/trunk/api/classes/CItem.php:671]



 Comments   
Comment by Ivo Kurzemnieks [ 2014 Jan 07 ]

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

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jan 08 ]

(1) Some code related issues:

  • CHttpTestManager::deleteStepsReal() is no longer used and can be removed;
  • I suggest using a foreach loop to merge arrays instead of array_merge: it's much faster.

iivs RESOVLED in r41367

jelisejev CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2014 Jan 09 ]

TESTED.

Comment by Ivo Kurzemnieks [ 2014 Jan 09 ]

Fixed in pre-2.2.2rc1 r41406 and pre-2.3.0 (trunk) r41407

Generated at Sat Apr 20 18:21:29 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.