Return-Path: X-Original-To: apmail-ofbiz-dev-archive@www.apache.org Delivered-To: apmail-ofbiz-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1FD3318409 for ; Sat, 19 Dec 2015 14:47:52 +0000 (UTC) Received: (qmail 78511 invoked by uid 500); 19 Dec 2015 14:47:46 -0000 Delivered-To: apmail-ofbiz-dev-archive@ofbiz.apache.org Received: (qmail 78471 invoked by uid 500); 19 Dec 2015 14:47:46 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 78444 invoked by uid 99); 19 Dec 2015 14:47:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Dec 2015 14:47:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A7F742C1F6C for ; Sat, 19 Dec 2015 14:47:46 +0000 (UTC) Date: Sat, 19 Dec 2015 14:47:46 +0000 (UTC) From: "Mridul Pathak (JIRA)" To: dev@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (OFBIZ-6098) One promo action applied to all cart items for a single rule with no condition and multiple product-specific actions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-6098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mridul Pathak resolved OFBIZ-6098. ---------------------------------- Resolution: Cannot Reproduce > One promo action applied to all cart items for a single rule with no condition and multiple product-specific actions > -------------------------------------------------------------------------------------------------------------------- > > Key: OFBIZ-6098 > URL: https://issues.apache.org/jira/browse/OFBIZ-6098 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Trunk > Reporter: Christian Carlow > Assignee: Mridul Pathak > > I created multiple discount promo actions for a single rule with no conditions which resulted in a single action incorrectly being applied to all promotion items instead of only the one with a matching productId. Logic is missing to check that the action productId matches the looped cartItem when promos are run. -- This message was sent by Atlassian JIRA (v6.3.4#6332)