[jira] [Created] (OFBIZ-5869) correction to changeset r1626462 and r1626463

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

[jira] [Created] (OFBIZ-5869) correction to changeset r1626462 and r1626463

Nicolas Malin (Jira)
Leon created OFBIZ-5869:
---------------------------

             Summary: correction to changeset r1626462  and r1626463  
                 Key: OFBIZ-5869
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5869
             Project: OFBiz
          Issue Type: Bug
          Components: ALL APPLICATIONS
    Affects Versions: Trunk
            Reporter: Leon
             Fix For: Trunk


There's error in this commit. e.g.
– List<GenericValue> allPCMPs = EntityUtil.filterByDate(delegator.findByAnd("PartyContactMechPurpose", pcmpFindMap, null, false), true);
++ allPCWPs = EntityUtil.filterByDate(allPCWPs, null, "contactFromDate", "contactThruDate", true);
According to EntityUtil.filterByDate(List, EntityCondition, String, String ,Boolean), it filter nothing if condition parameter (the second) is null.

see OFBIZ-5261.



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