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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Malin (Jira)

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

Pierre Smits commented on OFBIZ-5570:
-------------------------------------

Darrel,

Could you elaborate on what you think should be going into that map? Is it attributes related to the product, or other attributes related to the order item (which, depending on the type of order - e.g. sales/service/etc), can differ from product attributes)?

Could you share some expamples to help me, and others, understand...

Regards,

Pierre

> 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: SVN 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.2#6252)