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

SGS : siteGen request with NULL customer id gets through successfully

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0-RC2
    • Fix Version/s: 1.1.1
    • Labels:
      None
    • Environment:

      Server: optus-qa-smb1

      Optus Build : optus-ear-1.1.0-RC2-SNAPSHOT-p14-t20120120-114807-CI.ear

      Description

      Steps:

      1. Send a siteGen request having NULL customer id.

      Expected:

      The siteGen should fail with a clear error saying null customer bpid.

      Actual:

      We get an exception "Invalid conversion waypoint ID" during siteGen. Please find the exception below.

      2012-01-24 10:06:42,575 INFO [com.thesearchagency.mms.sitegen.SiteGenerationService] (WorkManager(2)-7) Failed to get metadata for primary business area2000062

      2012-01-24 10:06:42,580 WARN [com.thesearchagency.mms.sitegen.SiteGenerationService] (WorkManager(2)-7) ---- MAP ADDRESS ---- : test+line1,test+line2,test+line3,test+line4,Sydney,NSW,2154,AU

      2012-01-24 10:06:42,584 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (WorkManager(2)-7) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container

      2012-01-24 10:06:42,584 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (WorkManager(2)-7) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container

      2012-01-24 10:06:42,592 DEBUG [org.springframework.jdbc.core.JdbcTemplate] (WorkManager(2)-7) Executing prepared SQL query

      2012-01-24 10:06:42,592 DEBUG [org.springframework.jdbc.core.JdbcTemplate] (WorkManager(2)-7) Executing prepared SQL statement [select * from geocodedAddresses where addressHash = ?]

      2012-01-24 10:06:42,595 ERROR [com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceRequestMDB] (WorkManager(2)-7) Error processing message:

      java.lang.Exception: Invalid conversion waypoint ID, site generation failed.

      at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceImpl.getConversionWaypointId(SiteGenerationServiceImpl.java:424)

      at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceImpl.getPixelHeadCode(SiteGenerationServiceImpl.java:396)

      at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceImpl.addPixelTrackingCode(SiteGenerationServiceImpl.java:361)

      at com.thesearchagency.mms.sitegen.impl.SiteGenerationServiceImpl.buildContentMap(SiteGenerationServiceImpl.java:1980)

      Attached the siteGen log and request.

        Attachments

          Activity

            People

            • Assignee:
              kyle.bober kyle.bober
              Reporter:
              gurpreet.singh Gurpreet Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: