Details
-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.5.0
-
Fix Version/s: Backlog
-
Component/s: AdMax Deployment Service
-
Labels:None
-
Environment:
QA Environment
Build : optus-ear-1.5.0-SNAPSHOT-p854-t20121005-132358-CI.ear
Description
Steps to reprodude
1. Genereate SGS for two accounts, say AccuralStatus1 and AccuralStatus2 with ACST1 and ACST2 as campaign id respectively.
2. Genereate ADS for two accounts, say AccuralStatus1 and AccuralStatus2.
3. Send a budget accrual status update for a campaign that is the part of a another customer.
Ex: In request send Customer ID : AccuralStatus1 Campaign id : ACST2
4. Check the database.
Following is the case
Customer ID : AccuralStatus1 Campaign id : ACST1
select acc_status.status from `st-tracker`.admaxCampaignBudgetAccrualStatus acc_status join `st-tracker`.admaxCampaigns ac where acc_status.admaxCampaignID=ac.id and ac.description like '%ACST1%';
--------
status |
--------
paused |
--------
Customer ID : AccuralStatus2 Campaign id : ACST2
select acc_status.status from `st-tracker`.admaxCampaignBudgetAccrualStatus acc_status join `st-tracker`.admaxCampaigns ac where acc_status.admaxCampaignID=ac.id and ac.description like '%ACST2%';
--------
status |
--------
paused |
--------
O-73 Budget accrual status update of a campaign that isn't a part of the used customerID must fail
Customer ID : AccuralStatus1 Campaign id : ACST2
After executing the above test case
select acc_status.status from `st-tracker`.admaxCampaignBudgetAccrualStatus acc_status join `st-tracker`.admaxCampaigns ac where acc_status.admaxCampaignID=ac.id and ac.description like '%ACST2%';
--------
status |
--------
active |
--------
Doesnt effect to the existing campaign id of requested Customer
select acc_status.status from `st-tracker`.admaxCampaignBudgetAccrualStatus acc_status join `st-tracker`.admaxCampaigns ac where acc_status.admaxCampaignID=ac.id and ac.description like '%ACST1%';
--------
status |
--------
paused |
--------
When request is send with old campaign Id of XYZ account
select acc_status.status from `st-tracker`.admaxCampaignBudgetAccrualStatus acc_status join `st-tracker`.admaxCampaigns ac where acc_status.admaxCampaignID=ac.id and ac.description like '%adsreqDel3%';
--------
status |
--------
paused |
active |
--------
Actual Result
Updating the other customer id campaign status
Expected Result
Should not change the other customer campaign id accural status.