ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditi Patidar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OFBIZ-7275) Adding condition in price rule on 'Role Type' shown incorrect result
Date Sat, 22 Jul 2017 11:19:00 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-7275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Aditi Patidar updated OFBIZ-7275:
    Attachment: OFBIZ-7275.patch

The issue exists because in role type list there are multiple occurrences of substring "CUSTOMER"
and the existing check was just checking the occurrence of a substring in the string and found
this value more than once in the list so the last option gets selected.

Applied the equality check to find the exact match.

> Adding condition in price rule on 'Role Type' shown incorrect result
> --------------------------------------------------------------------
>                 Key: OFBIZ-7275
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7275
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Aditi Patidar
>            Assignee: Aditi Patidar
>            Priority: Minor
>         Attachments: OFBIZ-7275.patch, OFBIZ-7275.png
> Steps to regenerate issue:
> 1. Create a price rule or open an existing one.
> 2. Add a condition, select input 'Role Type', operator 'Is' and select the value 'Customer'.
> Expected Result: For added condition value should be 'Customer'.
> Actual Result: It's showing value 'Ship-To Customer'.

This message was sent by Atlassian JIRA

View raw message