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/07 10:54:43 UTC
[jira] Updated: (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 updated OFBIZ-1497:
---------------------------------
Attachment: getOrderItemSubTotal.patch
> 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
> Affects Versions: SVN trunk
> Reporter: 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.