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 2009/10/28 17:37:59 UTC
[jira] Closed: (OFBIZ-3099) PriceServices.calculateProductPrice
should not process or return obsolete PriceRules
[ https://issues.apache.org/jira/browse/OFBIZ-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-3099.
----------------------------------
Resolution: Fixed
Assignee: Jacques Le Roux
In R9.04 at r830666
> PriceServices.calculateProductPrice should not process or return obsolete PriceRules
> ------------------------------------------------------------------------------------
>
> Key: OFBIZ-3099
> URL: https://issues.apache.org/jira/browse/OFBIZ-3099
> Project: OFBiz
> Issue Type: Bug
> Components: product
> Affects Versions: Release Branch 9.04, SVN trunk
> Reporter: Patrick Antivackis
> Assignee: Jacques Le Roux
> Fix For: Release Branch 9.04, SVN trunk
>
> Attachments: Patch-OFBIZ-3099.txt
>
>
> There is no filterByDate done on the allProductPriceRules returned line 559.
> The consequences are that a findAllQuantityPrices=Y return a Map with some obsolete PriceRule
> The calcPriceResultFromRules process some PriceRules that could be filtered before.
> I don't see the point of returning all the PriceRules found when using findAllQuantityPrices=Y as this map is used to display active price quantity condition to the customer.
> If the service do need to return all PriceRules, as it is today, the service should be updated in order to allow to specify if the returned list should be only active or all.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.