You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Bilgin Ibryam (JIRA)" <ji...@apache.org> on 2007/12/15 14:00:43 UTC

[jira] Closed: (OFBIZ-1497) Bug in getOrderItemSubTotal method used with RENTAL_ORDER_ITEM

     [ https://issues.apache.org/jira/browse/OFBIZ-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bilgin Ibryam closed OFBIZ-1497.
--------------------------------

    Resolution: Fixed

Committed in trunk rev. 604420 and 4.0 rev. 604422

> Bug in getOrderItemSubTotal method used with RENTAL_ORDER_ITEM
> --------------------------------------------------------------
>
>                 Key: OFBIZ-1497
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1497
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Bilgin Ibryam
>            Assignee: Bilgin Ibryam
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: getOrderItemSubTotal.patch
>
>
> The method: OrderReadHelper.getOrderItemSubTotal(GenericValue orderItem, List adjustments, boolean forTax, boolean forShipping) 
>  in some situations  is invoked  with GenericValue of type "OrderItemAndShipGroupAssoc" instead of "OrderItem" and this cause NullPointerException.
> You can generate the bug by creating a rental product order and then adding an adjustment to this order (adding the adjustment generates NullPointerException).
> Bilgin

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.