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

ASF subversion and git services commented on OFBIZ-11754:
---------------------------------------------------------

Commit c8a7c7dd2344b2377f47331e8c7629c454144c5b in ofbiz-framework's branch 
refs/heads/trunk from Priya Sharma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c8a7c7d ]

Fixed: Create Payment service throws an exception when receiving payment on 
order (OFBIZ-11754) (#166)

* [Fixed] Create Payment service throws exception when receiving payment on 
order
- Since the MODULE variable could not be found, the service was throwing error
- Instead used the groovy method directly to print the log instead, which has 
access to the module variable implicitly.
- Removed the unused import as Debug class is not longer needed here.

(OFBIZ-11754)

* [Improved] The content groovy services to avoid the error in case we try to 
log a detail, since the module variable is not found. (OFBIZ-11754)

* Update ContentServices.groovy

* [Improved] Added error logs instead of info logs for service excpetions 
logging. (OFBIZ-11754)

Co-authored-by: Priya Sharma <priya.sha...@example.com>
Co-authored-by: Suraj Khurana <64310724+surajkhur...@users.noreply.github.com>

> 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: accounting, order
>    Affects Versions: Trunk
>            Reporter: Priya Sharma
>            Assignee: Suraj Khurana
>            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)

Reply via email to