ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10143) Hardcoded String in PaymentGatewayServices#processCaptureResult
Date Fri, 05 Jan 2018 07:11:00 GMT

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

Deepak Dixit commented on OFBIZ-10143:
--------------------------------------

Thanks Kyra Pritzel-Hentley for your contribution.
Your patch has been committed at 
ofbiz framework trunk at r#1820262
ofbiz framework 17.12 at r#1820263

> Hardcoded String in PaymentGatewayServices#processCaptureResult
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-10143
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10143
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Kyra Pritzel-Hentley
>            Assignee: Deepak Dixit
>            Priority: Trivial
>             Fix For: 17.12.01
>
>         Attachments: OFBIZ-10143_processCaptureResult_String.patch, OFBIZ-10143_processCaptureResult_String.patch
>
>
> {code:java}
> // otherwise default to Company and print a big warning about this
> partyIdTo = "Company";
> Debug.logWarning("Using default value of [" + partyIdTo + "] for payTo on invoice ["
+ invoiceId + "] and orderPaymentPreference ["
> + paymentPreference.getString("orderPaymentPreferenceId") + "]", module);
> {code}
> partyIdTo default value should be final String.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message