[ZBX-10967] httptest.update API has several problems without httpstepid Created: 2016 Jul 04 Updated: 2017 May 30 Resolved: 2016 Jul 04 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 2.2.13, 3.0.3 |
Fix Version/s: | 2.2.14rc1, 3.0.4rc1, 3.2.0alpha1 |
Type: | Incident report | Priority: | Major |
Reporter: | Kim Jongkwon | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | webmonitoring | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
httptest.update API method has several problem. The main reasons are "create new steps" update process. I confirmed like these problem cases and I think that could be related each other. Case 1. SQL ERROR -> FAILED Response Duplicated as When Create a httptest on frontend page and then Parameters :
Update fails with the following DB error response: Example : ["code"]=> int(-32500) ["message"]=> string(18) "Application error." ["data"]=> string(132) "SQL statement execution has failed "INSERT INTO items_applications (applicationid,itemid,itemappid) VALUES ('576','27693','10278')"." Case 2. New step items was disappeared -> SUCCESS Response When Create a httptest on frontend page and then try to update using httptest.update with exact same data without "applicationsid". New step items was disappeared. (also can't find on items table!) Parameters :
Temporary solution? : If you same request sent once more. Items was successfully updated. Case 3. New steps do not connected own applicationid -> SUCCESS Response. This problem will occur when
|
Comments |
Comment by Kim Jongkwon [ 2016 Jul 04 ] |
3.0.3 still has this problems. (I checked |
Comment by Aleksandrs Saveljevs [ 2016 Jul 04 ] |
Seems to have been originally reported as |