ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 3 replies, has 2 voices, and was last updated by  Martin 2 months, 3 weeks ago.

  • Creator
    Topic
  • #35289

    Martin
    Participant

    Hi,

    i’ve maybe found a bug in the oro api.

    Initial situation:
    Open Opportunity with assigned Account and B2B-Customer. For the Sales System, we need the current B2B Customer ID, so we can query the api for ship and bill address. System: Oro 2.0.0 on Ubuntu Linux.

    When:
    Trying to query the api for the b2b customer id, assigned within the opportunity.

    What Happens:
    Error 500 in Sandbox mode (Valid Opportunity Id provided)

    Expected Behaviour:
    Json Response, containing b2b customer id.

    Nevertheless, a possible workaround is to submit a get request against /api/opportunities, setting a filter on the opportunity.

    Logs:

    — oroprod.log —

    –api result —
    Response Header

    Response Body

    Kindly Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #35296

    akhristiansen
    Participant

    Hello, @Martin! Please, provide information about which PHP version and database system (e.g. mysql \ postgres\mongo) you are using, it will help us to reproduce this possible bug.

    #35298

    Martin
    Participant

    Sure,
    DB:
    10.0.29-MariaDB-0ubuntu0.16.04.1

    PHP:
    PHP 7.0.15-0ubuntu0.16.04.4 (cli) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.15-0ubuntu0.16.04.4, Copyright (c) 1999-2017, by Zend Technologies

    Hop this helps!

    Regards

    #35325

    Martin
    Participant

    We upgraded to 2.2.0 yesterday, now the API Enpoint returns a valid response.

    I’ll mark this closed now.

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.