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

For invalid call extension, duplicate editorial validation errors are inserted to database

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Mercury
    • Fix Version/s: All Time Backlog
    • Labels:
      None
    • Environment:

      Description

      Duplicate editorial validation errors are inserted to database

      Steps:

      1.Deploy a campaign through SOAP with invalid call extension number

      <campaignDataList>
      <type>phoneNumber</type>
      <attributes>
      <entry>
      <key>countryCode</key>
      <value xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">US</value>
      </entry>
      <entry>
      <key>number</key>
      <value xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">02-661-2400</value>
      </entry>
      <entry>
      <key>isEnabled</key>
      <value xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">true</value>
      </entry>
      </attributes>
      </campaignDataList>

      2. Check the listener log :

      --------------------------------------
      2015-08-24 07:53:25,861 [pool-3-thread-5] INFO c.t.s.c.b.u.e.i.CampaignServiceErrorEntityFactory - EditorialError Found:2
      2015-08-24 07:53:25,862 [pool-3-thread-5] DEBUG c.t.s.client.bing.util.SoapUtils - ******* Error *******
      2015-08-24 07:53:25,862 [pool-3-thread-5] DEBUG c.t.s.client.bing.util.SoapUtils - code = 1042
      2015-08-24 07:53:25,862 [pool-3-thread-5] DEBUG c.t.s.client.bing.util.SoapUtils - message = The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details.
      2015-08-24 07:53:25,862 [pool-3-thread-5] DEBUG c.t.s.client.bing.util.SoapUtils - errorCode = CampaignServiceEditorialValidationError
      2015-08-24 07:53:25,862 [pool-3-thread-5] DEBUG c.t.s.client.bing.util.SoapUtils - details = ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52
      2015-08-24 07:53:25,862 [pool-3-thread-5] DEBUG c.t.s.client.bing.util.SoapUtils - errorType = EditorialError
      2015-08-24 07:53:25,862 [pool-3-thread-5] DEBUG c.t.s.client.bing.util.SoapUtils - index = 0

      3.Check the errors table.

      Actual Result:

      Duplicate Call extension errors gets inserted to the table "bing.errors" .

      mysql> select * from bing.errors where campaignName like '%d193d108-6698-49f7-8b18-9f91819f0cfe%';
      ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      campaignName itemType itemKey code detail errorCode index message errorType bingId parentId lastUpdated errorJson

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

      d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GM CALL_EXTENSION_CAMPAIGN_ASSOCIATION 6008258654 1042 ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52 CampaignServiceEditorialValidationError 0 The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details. EditorialError 6008258654 128111418 2015-08-24 07:11:13 {"code":1042,"message":"The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details.","detail":"ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52","errorCode":"CampaignServiceEditorialValidationError","errorType":"EditorialError","index":0,"campaignName":"d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GM","type":"CALL_EXTENSION_CAMPAIGN_ASSOCIATION","key":"6008258654","searchEngineId":6008258654,"parentSearchEngineId":128111418}
      d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GM CALL_EXTENSION_CAMPAIGN_ASSOCIATION 6008258654 1042 ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52 CampaignServiceEditorialValidationError 0 The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details. EditorialError 6008258654 128111418 2015-08-24 07:11:13 {"code":1042,"message":"The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details.","detail":"ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52","errorCode":"CampaignServiceEditorialValidationError","errorType":"EditorialError","index":0,"campaignName":"d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GM","type":"CALL_EXTENSION_CAMPAIGN_ASSOCIATION","key":"6008258654","searchEngineId":6008258654,"parentSearchEngineId":128111418}
      d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GT CALL_EXTENSION_CAMPAIGN_ASSOCIATION 6008258656 1042 ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52 CampaignServiceEditorialValidationError 0 The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details. EditorialError 6008258656 128111419 2015-08-24 07:11:13 {"code":1042,"message":"The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details.","detail":"ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52","errorCode":"CampaignServiceEditorialValidationError","errorType":"EditorialError","index":0,"campaignName":"d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GT","type":"CALL_EXTENSION_CAMPAIGN_ASSOCIATION","key":"6008258656","searchEngineId":6008258656,"parentSearchEngineId":128111419}
      d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GT CALL_EXTENSION_CAMPAIGN_ASSOCIATION 6008258656 1042 ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52 CampaignServiceEditorialValidationError 0 The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details. EditorialError 6008258656 128111419 2015-08-24 07:11:13 {"code":1042,"message":"The specified entity did not pass editorial validation. Please see the ReasonCode element of this error object for details.","detail":"ErrorDetails:null, DisapprovedText:, Location:PhoneNumber, ReasonCode:52","errorCode":"CampaignServiceEditorialValidationError","errorType":"EditorialError","index":0,"campaignName":"d193d108-6698-49f7-8b18-9f91819f0cfe_10006_1_3578_GT","type":"CALL_EXTENSION_CAMPAIGN_ASSOCIATION","key":"6008258656","searchEngineId":6008258656,"parentSearchEngineId":128111419}

      ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      4 rows in set (0.00 sec)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: