Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5570

appendOrderItem Service Not Applying Order Item Attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 14.12.01, 13.07.02, 16.11.01
    • order
    • None
    • Bug Crush Event - 21/2/2015

    Description

      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

      Attachments

        1. OFBIZ-5570.patch
          3 kB
          Divesh Dutta

        Activity

          People

            toashishvijay Ashish Vijaywargiya
            darrell73s Darrell Donati
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: