You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/02/19 17:55:19 UTC
[jira] [Commented] (OFBIZ-5544) The getFeatureIdQtyMap function
doesn't include the DISTINGUISHING_FEAT into the featureMap
[ https://issues.apache.org/jira/browse/OFBIZ-5544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13905673#comment-13905673 ]
Jacques Le Roux commented on OFBIZ-5544:
----------------------------------------
I agree that an adjustment with a null amount makes no sense. But how this happened? Did you got an error then (just by curiosity)?
Thanks!
> 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
> Attachments: OFBiz-5544.patch
>
>
> 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)