Details

    • Type: Incident report Incident report
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2rc1, 2.3.0
    • Component/s: API (A)
    • Labels:

      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]

        Activity

        Hide
        Ivo Kurzemnieks added a comment -

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

        Show
        Ivo Kurzemnieks added a comment - RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-7591
        Hide
        Pavels Jelisejevs (Inactive) added a comment - - edited

        (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.

        Ivo Kurzemnieks RESOVLED in r41367

        Pavels Jelisejevs CLOSED.

        Show
        Pavels Jelisejevs (Inactive) added a comment - - edited (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. Ivo Kurzemnieks RESOVLED in r41367 Pavels Jelisejevs CLOSED.
        Hide
        Pavels Jelisejevs (Inactive) added a comment -

        TESTED.

        Show
        Pavels Jelisejevs (Inactive) added a comment - TESTED.
        Hide
        Ivo Kurzemnieks added a comment -

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

        Show
        Ivo Kurzemnieks added a comment - Fixed in pre-2.2.2rc1 r41406 and pre-2.3.0 (trunk) r41407

          People

          • Assignee:
            Ivo Kurzemnieks
            Reporter:
            richlv
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: