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

SGS: Site generation fails with "Invalid primary Location or Business Area set for customer" error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.1
    • Fix Version/s: 1.1.1
    • Labels:
      None

      Description

      Site generation service gives response - "Invalid primary Location or Business Area set for customer" even though BA/BL are valid.

      Initial condition-

      mysql> select * from mms_common.businessAreas where id=2000084;

      ------------------------------------------------

      id description status

      ------------------------------------------------

      2000084 Residential Building Construction active

      ------------------------------------------------

      mysql> select * from mms_common.businessLocations where id=10000;

      ------------------------------------------------------------------------------------------------------------------+

      id description shortDescription status businessLocationTypeID useSEDefinedTargets usePointRadiusTargets isSellable

      ------------------------------------------------------------------------------------------------------------------+

      10000 Old Adaminaby Old Adaminaby active 8 0 1 1

      ------------------------------------------------------------------------------------------------------------------+

      1 row in set (0.00 sec)

      mysql> select * from optus.businessLocationIDMap where businessLocationID='NSW3102';

      --------------------------------------------+

      businessLocationID systemBusinessLocationID

      --------------------------------------------+

      NSW3102 10000

      --------------------------------------------+

      SOAP Request - attached

      Response:

      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

      <soap:Body>

      <ns2:deploySiteResponse xmlns:ns2="http://www.thesearchagency.com/SiteGenerationService/">

      <header>

      <requestID>1</requestID>

      <retryID>1</retryID>

      </header>

      <result>

      <resultCode>queued</resultCode>

      </result>

      </ns2:deploySiteResponse>

      </soap:Body>

      </soap:Envelope>

      ***After updating

      /usr/local/jboss-5.1.0.GA/server/tsa_messaging_node1/deploy/destinations-service.xml with "TemplateTestingRespQueue", SGS request gives successful response.

        Attachments

          Activity

            People

            • Assignee:
              jason.stedman Jason Stedman (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: