You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Praveen Agrawal (JIRA)" <ji...@apache.org> on 2014/02/19 13:07:22 UTC

[jira] [Created] (OFBIZ-5544) The getFeatureIdQtyMap function doesn't include the DISTINGUISHING_FEAT into the featureMap

Praveen Agrawal created OFBIZ-5544:
--------------------------------------

             Summary: The getFeatureIdQtyMap function doesn't include the DISTINGUISHING_FEAT into the featureMap
                 Key: OFBIZ-5544
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5544
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: SVN trunk
            Reporter: Praveen Agrawal


The getFeatureIdQtyMap function in ShoppingCartItem.java doesn't include the DISTINGUISHING_FEAT in featureMap so if we want to calculate the Shipping amount based on Distinguishing feature, this method doesn't return the Distinguishing Feature in Feature Map.
If we add DISTINGUISHING_FEAT as productFeatureApplTypeId in filterExprs then the feature map would contain the Distinguishing feature in addition to Standard and Required Feature.

Also in ShoppingCartItem.java, putAdditionalProductFeatureAndAppl method, i think the OrderAdjustment should only be included when the amount is not null.

The above issues are exists in all other branches including Trunk



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)