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

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

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

Nicolas Malin (Jira)
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)