You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Aditi Patidar (JIRA)" <ji...@apache.org> on 2017/07/22 11:19:00 UTC
[jira] [Updated] (OFBIZ-7275) Adding condition in price rule on
'Role Type' shown incorrect result
[ 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
(v6.4.14#64029)