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

Location extension is not created for an order if deployed through API

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Mercury
    • Fix Version/s: Mercury
    • Component/s: API
    • Labels:
      None
    • Environment:

      bidmgr-distribution-2.9.1-BETA1-bin.tar.gz

    • Sprint:
      Sprint 23

      Description

      Location extension is not created for an order if deployed through API

      Steps :

      1. Create a merchant through API.
      2. Deploy an order with location extension through Api.

      Expected Behavior

      Location extension should be created in Google Adwords successfully .

      Actual Behavior

      Exception observed in listener log . (Attribute name (province) has value null) is showing in the log.

      Lister log

      2016-04-22 07:24:56.464 (3) [P18T1]: [oauth] Returning access token from OAuth service: ya29..zALKVCSqJY3P5jE4HbFch7zT1HW4uTm0uADDqbfltFRCtF-ZvwYErke7
      2016-04-22 07:24:56.497 (3) [P18T1]: FeedItemChangeRequest (accountID 101): Sending 8 add requests
      2016-04-22 07:24:56.498 (1) [P18T1]: Exception [Invalid attribute value for accountID: 101]:java.lang.IllegalArgumentException: Attribute name (province) has value null
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.setAttributeValue(FeedItemChangeRequest.java:165)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.mapAttributeValues(FeedItemChangeRequest.java:135)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.getFeedItems(FeedItemChangeRequest.java:86)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.createRequest(FeedItemChangeRequest.java:37)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.feed.FeedItemChangeRequest.createRequest(FeedItemChangeRequest.java:26)
      at com.thesearchagency.searchengines.google.contenteditor.changerequest.BaseChangeRequest.makeRequest(BaseChangeRequest.java:94)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.handleFeedItems(GoogleContentEditor.java:1204)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.call(GoogleContentEditor.java:1028)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.call(GoogleContentEditor.java:1002)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      Note :

      Kindly find the attached log and the deployment request.

        Attachments

        1. jboss_log_location_extn.txt
          106 kB
          Sanjay Kumar Biswal
        2. listener_log_Locationextn.txt
          109 kB
          Sanjay Kumar Biswal
        3. RestRequest_Deployment.txt
          1 kB
          Sanjay Kumar Biswal

          Activity

            People

            • Assignee:
              sanjaykumar.biswal Sanjay Kumar Biswal
              Reporter:
              sanjaykumar.biswal Sanjay Kumar Biswal
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: