You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Vyom Jain (JIRA)" <ji...@apache.org> on 2015/09/19 13:00:06 UTC

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

Vyom Jain created OFBIZ-6632:
--------------------------------

             Summary: 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: Trunk
            Reporter: Vyom Jain


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)