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

MissingPropertyException while running setupDistributionMerchantProperties.groovy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: Venus
    • Fix Version/s: Venus
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 9

      Description

      Steps:
      1. Run Script :
      groovy setupDistributionMerchantProperties.groovy
      2. Enter all the entries and at last save the changes as showed in below example

      groovy setupDistributionMerchantProperties.groovy
      Setting up command line options ...
      Enter the Distribution Service host URI : aq-qa2-front1
      Enter Distribution Service host port (default: 8080): 8080
      DEBUG - Base path: http://aq-qa2-front1:8080/distribution/rest/
      Enter the caller's username (default: readwrite): readwrite
      Enter the password for readwrite:
      Enter the merchant id: 090299e9-7f61-42a0-beab-e6bb757e302d

      Would you like to see/change any current Content properties for this merchant? y

      Current Content Properties from db ****************
      ce.mobileBidModifier -> 2
      bing.addressLine2 -> Suite 600
      tp.packageID -> default
      bing.addressLine1 -> 11150 W Olympic
      bing.countryCode -> US
      tp.industryID -> 50
      bing.stateOrProvince -> CA
      bing.parentClientCustomerID -> 5121009
      tp.enableRightColumn -> true
      bing.mobileBidModifier -> 100
      ce.desktopBidModifier -> 3
      tp.enableTravelingIn -> false
      ce.tabletBidModifier -> 4
      tp.showPixelStep -> true
      ce.includeSearchPartners -> true
      bing.desktopBidModifier -> 200
      bing.city -> Los Angeles
      bing.postalCode -> 90064
      bing.language -> English
      ce.orderID ->
      bing.tabletBidModifier -> 300
      tp.locale -> en-US
      ce.parentClientCustomerID -> 5891657304
      tp.enableInstagramStream -> true
      ce.defaultBudget -> 9000000

      Will this merchant use Google? y

      Will this merchant use Bing? n

      Will this merchant use Facebook? n

      Will this merchant use YahooJapan? n

      Current Content Properties ****************
      ce.mobileBidModifier -> 2
      ce.desktopBidModifier -> 3
      ce.tabletBidModifier -> 4
      ce.includeSearchPartners -> true

      Would you like to change ce.mobileBidModifier ? y
      Enter a value for Content Property field "ce.mobileBidModifier" : (2) : 4

      Would you like to change ce.desktopBidModifier ? y
      Enter a value for Content Property field "ce.desktopBidModifier" : (3) : 5

      Would you like to change ce.tabletBidModifier ? y
      Enter a value for Content Property field "ce.tabletBidModifier" : (4) : 6

      Would you like to change ce.includeSearchPartners ? y
      Enter a value for Content Property field "ce.includeSearchPartners" : (true) : false

      Updated Content Properties ****************

      ce.mobileBidModifier -> 4
      ce.desktopBidModifier -> 5
      ce.tabletBidModifier -> 6
      ce.includeSearchPartners -> false

      Would you like to save these Content properties for this merchant? y

      NOTE: This is not breaking and functionality, script is working fine and also saving the changes properly for a merchant.

      ----------------
      Exception:
      ----------------

      Caught: groovy.lang.MissingPropertyException: No such property: useFacebook for class: setupDistributionMerchantProperties
      groovy.lang.MissingPropertyException: No such property: useFacebook for class: setupDistributionMerchantProperties
      at setupDistributionMerchantProperties.run(setupDistributionMerchantProperties.groovy:454)

        Attachments

          Activity

            People

            • Assignee:
              rahul.honakande Rahul Honakande
              Reporter:
              rahul.honakande Rahul Honakande
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: