[
https://issues.apache.org/jira/browse/OFBIZ-11754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119464#comment-17119464 ]
Priya Sharma edited comment on OFBIZ-11754 at 5/29/20, 10:11 AM:
-----------------------------------------------------------------
Thanks for your inputs, [~surajk].
I have tried to fix it in a similar way.
I have instead used the logInfo method directly, which is defined in org/apache/ofbiz/service/engine/GroovyBaseScript.groovy
and does not require module to be passed explicitly.
Please let me know if this approach looks good to you or we can do something better.
And for a similar change in other services, we could plan a separate ticket, WDYT?
was (Author: priya.sharma.9362):
Yes [~surajk], Thanks for your inputs.
I have tried to fix it in a similar way.
I have instead used the logInfo method directly, which is defined in org/apache/ofbiz/service/engine/GroovyBaseScript.groovy
and does not require module to be passed explicitly.
Please let me know if this approach looks good to you or we can do something better.
And for a similar change in other services, we could plan a separate ticket, WDYT?
> Create Payment service throws exception when receiving payment on order
> -----------------------------------------------------------------------
>
> Key: OFBIZ-11754
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11754> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Trunk
> Reporter: Priya Sharma
> Assignee: Priya Sharma
> Priority: Minor
> Attachments: Screenshot from 2020-05-29 14-00-57.png
>
>
> Steps to regenerate -
> # Create a fresh order with COD payment mode
> # Try to receive payment as PETTY_CASH payment method
> Please refer the screenshot for more details.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)