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

OPTUS_SGS: Resending SGS reqeust with newly added BA to the old SGS, it throws exception!

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Labels:
      None
    • Environment:

      QA Environment

      SMB 1 Server :

      optus-ear-1.4.0-SNAPSHOT-p33

      Description

      After resending SGS with newly added BA, it throws exception!

      1.SGS is deployed for QA_UpdateSiteLink_SGS_1.xml

      2.Make ADS request – QA_UpdateSiteLink_ADS_1.xml

      3.Update the SGS request - QA_UpdateSiteLink_SGS_2_AddedBA.xml

      <campaignSiteInfoList>
      <campaignInfo>
      <campaignID>upsite-13</campaignID>
      <businessAreaID>2000079</businessAreaID>
      <businessLocationID>NSW3102</businessLocationID>
      </campaignInfo>
      <siteInfo>
      <!-1 or more repetitions:->
      <customMerchantAttributeList>
      <sequenceNumber>1</sequenceNumber>
      <attribute>We make house calls Test!</attribute>
      </customMerchantAttributeList>
      <callToAction>Call us now!</callToAction>
      <businessName>The QA people test</businessName>
      <!-Optional:->
      <branchAddressID>1</branchAddressID>
      <!-Optional:->
      <telephoneID>1</telephoneID>
      <!-Optional:->
      <emailAddress>qatesterstsa@theqapeople.com</emailAddress>
      </siteInfo>
      </campaignSiteInfoList>

      Partial Jboss log :

      {Detailed log attached}

      01:25:37,924 DEBUG [JdbcTemplate] Executing prepared SQL statement [SELECT * FROM contentField WHERE customizable_entity_id = ?]
      01:25:37,925 ERROR [SiteServiceBD] Process during context processing step : class com.thesearchagency.smb.service.site.component.contextprocessing.customization.CustomerSiteImporterCP
      java.lang.NumberFormatException: null
      at java.lang.Integer.parseInt(Integer.java:417)
      at java.lang.Integer.parseInt(Integer.java:499)
      at com.thesearchagency.core.smb.domain.customization.customer.fields.customer_fields.ImageIdField.getImageId(ImageIdField.java:39)
      at com.thesearchagency.smb.service.site.component.contextprocessing.customization.CustomerSiteImporterCP.updateImageId(CustomerSiteImporterCP.java:249)
      at com.thesearchagency.smb.service.site.component.contextprocessing.customization.CustomerSiteImporterCP.updatePageContext(CustomerSiteImporterCP.java:234)

        Attachments

          Activity

            People

            • Assignee:
              jason.stedman Jason Stedman (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: