ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharan Foga (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-5565) FinAccountHelper.getFinAccountFromCode() no longer returns financial account
Date Wed, 05 Aug 2015 19:04:05 GMT

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

Sharan Foga commented on OFBIZ-5565:

Hi Jacques

In the trunk and 14.12 if you run through this scenario then yes it will work (i.e it will
not display an error message that the Gift Card doesn't exist) and it will create an authorisation
for the Sales Order amount on the Gift Certificate Financial Account (which is also good).
There are some potential other issues after that around the payment transactions created when
you ship the sales order but that's not relevant for this issue.

> FinAccountHelper.getFinAccountFromCode() no longer returns financial account
> ----------------------------------------------------------------------------
>                 Key: OFBIZ-5565
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5565
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting, order
>    Affects Versions: Release Branch 13.07, Trunk
>         Environment: Primarily tested on Ubuntu, but affects all OS.
>            Reporter: Vyom Jain
>            Assignee: Adam Heath
>         Attachments: OFBIZ-5565.patch
> FinAccountHelper.getFinAccountFromCode() in trunk as well as in some of the released
versions is no longer able to fetch the Financial Account ID. 
> So all features dependent on this method would no longer work (an example being paying
by gift card during order entry process).
> Per my research, this stopped working method post some changes related to how data is
encrypted (two strings will not have similar encrypted string).
> I had tried this on a fresh SVN trunk checkout with absolutely no changes (had been using
Derby database).
> Furthermore, the ant target gen-kek references old jars and that needs fixing as well.
> Steps to test - 
> 1. Create a new Financial account (gift certificate) for DemoCustomer - https://demo-trunk.ofbiz.apache.org/accounting/control/FindFinAccount?ownerPartyId=DemoCustomer
and deposit some funds into it.
> 2. Create an order for DemoCustomer from the Order Manager application.
> 3. Use "Quick Finalize Order", try paying by the gift card created in step #1.
> Observations - 
> 1. Returns an error "This gift card does not exist"
> Related User ML post - http://mail-archives.apache.org/mod_mbox/ofbiz-user/201403.mbox/%3CCAKuEJqZChmJaWF=rZN1z-vUDNZBNSduLJ4j6pxJTD5iJYnUZhg@mail.gmail.com%3E
> Thanks.

This message was sent by Atlassian JIRA

View raw message