[jira] [Updated] (OFBIZ-6632) Incorrect comparison in TemporalExpressionWorker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-6632) Incorrect comparison in TemporalExpressionWorker.java

Nicolas Malin (Jira)

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

Michael Brohl updated OFBIZ-6632:
---------------------------------
    Fix Version/s:     (was: Upcoming Branch)

> Incorrect comparison in TemporalExpressionWorker.java
> -----------------------------------------------------
>
>                 Key: OFBIZ-6632
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6632
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 14.12, Upcoming Branch
>            Reporter: Vyom Jain
>            Assignee: Michael Brohl
>             Fix For: 14.12.01, 12.04.06, 13.07.03
>
>         Attachments: OFBIZ-6632-Fixed-exprAssocType-values.patch
>
>
> Line 128 in TemporalExpressionWorker.java does incorrect comparison
> {code}
> if ("SUBSTITUTION".equals(childExpression.get("exprAssocType"))) {
> {code} should be
> {code}
> if ("SUBSTITUTE".equals(childExpression.get("exprAssocType"))) {
> {code}
> Also documentation of field exprAssocType in entity definition of TemporalExpressionAssoc needs to be fixed. INCLUDED & EXCLUDED should be INCLUDE & EXCLUDE respectively.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)