Ankush Upadhyay commented on OFBIZ-10850:

Root cause of this issue is due to different returnableItems list contains 
generic values of OrderItem and OrderAdjustment entity and code is trying to 
skip OrderAdjustment generic value by  checking orderAdjustmentId in iteration 
that fails for OrderItem genericValue.

Provided patch to skip OrderAdjustment generic value in iteration with proper 
code handling.

> User is unable to create return
> -------------------------------
>                 Key: OFBIZ-10850
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10850
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ecommerce
>    Affects Versions: Trunk
>            Reporter: Ashish Sharma
>            Assignee: Ankush Upadhyay
>            Priority: Major
>         Attachments: OFBIZ-10850.patch, OFBIZ-10850.png
> *Step to reproduce*
> Login with valid username and password.
> Navigate to ecommerce.
> Create a sales order.
> Navigate to order history.
> Click on return request
> *Expected result:* All the data should be properly aligned.
> *Actual result:* Error message is displayed in Return item section.
> Screen print attached

This message was sent by Atlassian JIRA

Reply via email to