[
https://issues.apache.org/jira/browse/OFBIZ-12051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240318#comment-17240318 ]
ASF subversion and git services commented on OFBIZ-12051:
---------------------------------------------------------
Commit 816068335c4886b5d34274dd699e9d97625015c3 in ofbiz-framework's branch refs/heads/trunk from Nicolas Malin
[
https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8160683 ]
Improved: Improve makeRangeCondition in file EntityDateFilterCondition.java
(OFBIZ-12051)
When we have a value with both from and thrudate greater than given range
Thanks to Leila Mekika for this improvement
> Improve makeRangeCondition in file EntityDateFilterCondition.java
> -----------------------------------------------------------------
>
> Key: OFBIZ-12051
> URL:
https://issues.apache.org/jira/browse/OFBIZ-12051> Project: OFBiz
> Issue Type: Improvement
> Components: ALL COMPONENTS
> Affects Versions: Trunk
> Reporter: Leila Mekika
> Assignee: Nicolas Malin
> Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-12051-TESTSCREEN.txt, OFBIZ-12051.patch
>
>
> When using makeRangeCondition for a project, it seems that one case is not returned by the generated condition:
> When we have a value with both from and thrudate greater than given range
>
> How to test:
> * Create an agreement with fromDate = current year start date and endDate = current year end date in [agreement screen|
https://localhost:8443/accounting/control/EditAgreement]
> * Apply OFBIZ-12051-TESTSCREEN.patch to add a "range" field in agreement find screen which allow filtering using makeRangeCondition filter.
> Got to agreement [find screen|
https://localhost:8443/accounting/control/FindAgreement] and enter a range period in current year.
> * The newly created agreement does not appears in result list
>
> * Apply OFBIZ-12051.patch to add a "range" field in agreement find screen which allow filtering using makeRangeCondition filter.
> * Try again to search [agreements|
https://localhost:8443/accounting/control/FindAgreement] with the same range period.
> * The newly created agreement must appear
--
This message was sent by Atlassian Jira
(v8.3.4#803005)