You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Divesh Dutta (JIRA)" <ji...@apache.org> on 2015/02/21 08:06:12 UTC

[jira] [Commented] (OFBIZ-5570) appendOrderItem Service Not Applying Order Item Attributes

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

Divesh Dutta commented on OFBIZ-5570:
-------------------------------------

Hi Darrell,

This was not design choice to not to process itemAttributesMap. We can definitely add code to process itemAttributesMap and code can be similar to  code written in updateApprovedOrderItems method of OrderServices.java

> appendOrderItem Service Not Applying Order Item Attributes
> ----------------------------------------------------------
>
>                 Key: OFBIZ-5570
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5570
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Darrell Donati
>
> Please see the user mailing list discussion: http://ofbiz.135035.n4.nabble.com/Possible-Issue-appendOrderItem-Service-td4648984.html
> Copied issue for archival purposes:
> Hi Folks, 
> I'm running 12.04.02, 
> I'm using the "appendOrderItem" service in the order application. The service definition allows for an optional Map of order item attributes called "itemAttributesMap". However, the addItemToApprovedOrder method in OrderServices isn't using that map from the service context, thus the order item attributes aren't being added to the item when it's added to the order. 
> I've checked the addItemToApprovedOrder method in the trunk OrderServices, and the itemAttributesMap is not being utilized there either. I can fix and submit a patch (see implementation in updateOrderItems service), but wanted to ensure this wasn't a design choice. 
> Thanks, 
> Darrell



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)