[ 
https://issues.apache.org/jira/browse/OFBIZ-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834780#action_12834780
 ] 

Abdullah Shaikh commented on OFBIZ-3485:
----------------------------------------

I have checked this issue, the error is because the seed data doesn't have 
nameOnAccount for EftAccount entity, and when the updatePaymentMethodAddress 
seca service is called when you update the party's postal address, in it turns 
calls the updateEftAccount service which has nameOnAccount set to 
optional="false", this results in error.

>From business point of view is the  account name (nameOnAccount) of bank 
>account (EftAccount) mandatory ?

If yes then we need to have nameOnAccount set in seed data and if no, then we 
need to make nameOnAccount field optional in updateEftAccount.

Let me know if nameOnAccount shoud be mandatory or not, so that I can provide a 
patch.

> Error in updating party postal address  if party has an EftAccount
> ------------------------------------------------------------------
>
>                 Key: OFBIZ-3485
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3485
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Abdullah Shaikh
>
> Try to update the party Postal Address, which have an EftAccount, using the 
> Update button in Profile's Contact Information section, you get the below 
> error,
> The Following Errors Occurred:
> Error trying to begin transaction, could not process method: The current 
> transaction is marked for rollback, not beginning a new transaction and 
> aborting current operation; the rollbackOnly was caused by: Service 
> [updateEftAccount] threw an unexpected 
> exception/errororg.ofbiz.service.ServiceValidationException: The following 
> required parameter is missing: [updateEftAccount.nameOnAccount] (The 
> following required parameter is missing: [updateEftAccount.nameOnAccount])

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to