Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: Mercury
-
Fix Version/s: All Time Backlog
-
Component/s: Admax Deployment Service
-
Labels:None
-
Environment:
Bid Manager : bidmgr-distribution-2.9.0-SNAPSHOT-dev-t20150821065942 (build #814)
Core : smb-ear-2.9.0-SNAPSHOT-b348-t20150817-155741-CI.ear (build #349)
SAPI : aml-sapi-2.9.0-20150818.183757-103.war (#1042)
Reseller : aml-ui-reseller-gwt-2.9.0-20150813.221022-7.war (#259)
Techops : ops-scripts-2.8.0-20150818.142033-56-bin.zip(#736)
AML Distribution Service: Build67Bid Manager : bidmgr-distribution-2.9.0-SNAPSHOT-dev-t20150821065942 (build #814) Core : smb-ear-2.9.0-SNAPSHOT-b348-t20150817-155741-CI.ear (build #349) SAPI : aml-sapi-2.9.0-20150818.183757-103.war (#1042) Reseller : aml-ui-reseller-gwt-2.9.0-20150813.221022-7.war (#259) Techops : ops-scripts-2.8.0-20150818.142033-56-bin.zip(#736) AML Distribution Service: Build67
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)