OFBiz
  1. OFBiz
  2. OFBIZ-4804

Update Company Contact Infromrtion Fails

    Details

      Activity

      Hide
      Tom Burns added a comment -

      Updating the Company postal_address in Party Manager fails.

      To reproduce:
      In Party Manager lookup Party Id "Company"
      Click Update in Contact Information > Postal Address
      Make a change to the address
      Click Save
      Note the error message.

      A postal_address update triggers an accounting SECA that runs:
      PaymentMethodServices.xml (accounting) updatePaymentMethodAddress
      services_paymentmethod.xml updateEftAccount
      PaymentMethodServices.java updateEftAccount

      The purpose of the SECA is to update the contact_mech_id field in CreditCard or EftAccount entities have the optional billing address information.

      The updateEftAccount service sets the nameOnAccount field to optional="false".
      The demo data that set up two EftAccount's for Company did not include nameOnAccount.
      These are the only ETF's set up in demo data.

      In the application ETF's are set up in eCommerce which requires "Name On Account" so the problem should not happen with address changes.
      See eCommerce:
      Login as DemoCustomer
      Click "Profile" at the right of the top title bar
      Click "Create New EFT Account" at the right of the title bar in the Payment Method Information section.
      Note the first file "Name on Account" is required
      Note the option to select a billing address.

      Changing the DemoFinAccountData.xml file to enter the nameOnAccount field for the Company EftAccount's should fix the problem.

      Show
      Tom Burns added a comment - Updating the Company postal_address in Party Manager fails. To reproduce: In Party Manager lookup Party Id "Company" Click Update in Contact Information > Postal Address Make a change to the address Click Save Note the error message. A postal_address update triggers an accounting SECA that runs: PaymentMethodServices.xml (accounting) updatePaymentMethodAddress services_paymentmethod.xml updateEftAccount PaymentMethodServices.java updateEftAccount The purpose of the SECA is to update the contact_mech_id field in CreditCard or EftAccount entities have the optional billing address information. The updateEftAccount service sets the nameOnAccount field to optional="false". The demo data that set up two EftAccount's for Company did not include nameOnAccount. These are the only ETF's set up in demo data. In the application ETF's are set up in eCommerce which requires "Name On Account" so the problem should not happen with address changes. See eCommerce: Login as DemoCustomer Click "Profile" at the right of the top title bar Click "Create New EFT Account" at the right of the title bar in the Payment Method Information section. Note the first file "Name on Account" is required Note the option to select a billing address. Changing the DemoFinAccountData.xml file to enter the nameOnAccount field for the Company EftAccount's should fix the problem.
      Hide
      Tom Burns added a comment -

      Note this is not a major bug. The issue was accidentally submitted last night before completing the Details.

      Show
      Tom Burns added a comment - Note this is not a major bug. The issue was accidentally submitted last night before completing the Details.
      Hide
      Jacques Le Roux added a comment -

      Minor issue

      Show
      Jacques Le Roux added a comment - Minor issue
      Hide
      Jacques Le Roux added a comment -

      Thanks Tom,

      Your patch is in
      trunk r1328946
      R11.04 r1328947
      R10.04 r1328948

      Show
      Jacques Le Roux added a comment - Thanks Tom, Your patch is in trunk r1328946 R11.04 r1328947 R10.04 r1328948

        People

        • Assignee:
          Jacques Le Roux
          Reporter:
          Tom Burns
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development