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)

Reply via email to