Uploaded image for project: 'Yell'
  1. Yell
  2. YELL-917

On deleting or updating negative placement, redeployment throws exception

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: PatchFix201401
    • Fix Version/s: TBD
    • Component/s: None
    • Labels:
    • Environment:

      ST2 and YELL1 Environment

      Build Details
      SMS Core: P102
      SMS Service: P35

      Description

      When we delete a negative placement from core keyword and redeploy the account then its throwing exception.

      Steps to Reproduce.

      Step 1: Deploy an account (Use BFID have placements)
      Step 2: Delete one of the placements from the core keyword.
      Step 3: Redeploy the account.

      Actual result: Throws exception.

      Expected result: Should delete from the adwords.

      Snippet of the log.

      2014-03-20 12:25:22.215 (3) [P12T1]: replace 1 changed campaigns
      2014-03-20 12:25:22.246 (2) [P12T1]: Exception [Exception running content editor, quitting]:java.lang.IllegalArgumentException: No enum const class com.thesearchagency.searchengines.google.contenteditor.dto.criterion.CriterionInfo$GoogleCriterionStatus.
      at java.lang.Enum.valueOf(Enum.java:196)
      at com.thesearchagency.searchengines.google.contenteditor.dto.criterion.CriterionInfo$GoogleCriterionStatus.valueOf(CriterionInfo.java:189)
      at com.thesearchagency.searchengines.google.contenteditor.dao.criterion.placement.PlacementMapper.mapPlacement(PlacementMapper.java:121)
      at com.thesearchagency.searchengines.google.contenteditor.dao.criterion.placement.PlacementMapper.mapPlacementChange(PlacementMapper.java:86)
      at com.thesearchagency.searchengines.google.contenteditor.dao.criterion.placement.PlacementMapper.mapPlacementChanges(PlacementMapper.java:44)
      at com.thesearchagency.searchengines.google.contenteditor.dao.criterion.placement.PlacementDAO.getPlacementsWithPendingChanges(PlacementDAO.java:260)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.handlePlacements(GoogleContentEditor.java:1266)
      at com.thesearchagency.searchengines.google.contenteditor.GoogleContentEditor$SearchEngineUserWorker.run(GoogleContentEditor.java:915)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)

      2014-03-20 12:25:22.247 (3) [P12T1]: ... SEUser 26197 finished

      Please find attached log.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: