Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-997

BES fails retreiving a budget estimate when BA is in multiple BCs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.01
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 1 - Matunuck

      Description

      I have uploaded the latest business taxonomy (the 12/20 checkin) which has several business areas that exist in multiple business categories. The BES returns an Invalid Business Area ID error. Upon further review, the BES calls the BCS to validate the BA ID. The BCS makes a query to retrieve the BA and expects only one parent BC since that is how it worked for Optus. The AML taxonomy has BAs in multiple BCs so this query is failing.

      To fix this quickly we might be able to add a "limit 1" to the query the BCS is making. To fix this to return a list of BC IDs we would have to update the domain object returned by the service (as well as the query) and make sure that that doesn't break anything anywhere else.

      Original BES SOAP request:
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
      <ns2:getBudgetEstimatesRequest xmlns:ns2="http://thesearchagency.com/smb/core/">
      <budgetEstimateCriteriaList>
      <businessAreaID>11301</businessAreaID>
      <businessLocationID>57</businessLocationID>
      <currencyID>1</currencyID>
      </budgetEstimateCriteriaList>
      </ns2:getBudgetEstimatesRequest>
      </soap:Body>
      </soap:Envelope>

      the response:
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
      <ns2:getBudgetEstimatesResponse xmlns:ns2="http://thesearchagency.com/smb/core/">
      <budgetEstimateResultList>
      <result>
      <resultCode>failure</resultCode>
      <resultString>Invalid business area ID</resultString>
      </result>
      <budgetEstimateCriteria>
      <businessAreaID>11301</businessAreaID>
      <businessLocationID>57</businessLocationID>
      <currencyID>1</currencyID>
      </budgetEstimateCriteria>
      </budgetEstimateResultList>
      </ns2:getBudgetEstimatesResponse>
      </soap:Body>
      </soap:Envelope>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rgardner Ross Gardner
                Reporter:
                jeff.brown Jeff Brown (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: