Uploaded image for project: 'SMB - Optus'
  1. SMB - Optus
  2. OPTUS-80

Optus : Accrual status of a campaign that isn't a part of the used customerID, but it belongs to other Customer, is successful

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: Backlog
    • 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.

        Attachments

        1. UpdateReqAccStat-TC-73
          0.7 kB
        2. SGSAccuralErrorTC-73
          3 kB
        3. SGSAccuralError2-TC-73
          3 kB
        4. ADSAccuralErrorTC-73
          1 kB
        5. ADSAccuralError2-TC-73
          1 kB
        6. AccuralStatusLog.txt
          5 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anil.kumar Anil Kumar Halmadgi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: