Details
- 
    Type:Bug 
- 
    Status: Closed
- 
    Priority:Major 
- 
    Resolution: Fixed
- 
    Affects Version/s: unspecified
- 
    Fix Version/s: None
- 
    Component/s: Data Checker
- 
    Labels:None
- 
    Environment:Operating System: Windows XP 
 Platform: PC
- 
        Bugzilla Id:3607
Description
-----------------------------------------------------------------
Project: Data Checker Back End
Component Used: ./generate-discrepancies.sh
Build: /var/local/builds/tsa-build-bidmgr-2010-03-09-p14-r25168
------------------------------------------------------------------
After passing End date/Start date as Future date for
./generate-discrepancies.sh, usage/Error message is not shown.
E.g.tsaapp@tvvm-staging-xml1:/var/local/builds/tsa-build-bidmgr-2010-03-09-p14-r25168$
./generate-discrepancies.sh -d3 -account 289 -distribution 3 -T 2010-03-11 -E
2010-10-11
2010-03-09 23:08:37.803 (3) [main]: Debug Level set to 3
2010-03-09 23:08:48.068 (3) [main]: getAbsolutePath() returned /tmp/abtl39337.csv
2010-03-09 23:08:48.081 (3) [main]: Connected to URL
"http://tvvm-staging-svc2:8080//reports/1/report_163573.csv"
2010-03-09 23:08:48.166 (3) [main]: getAbsolutePath() returned /tmp/abtl39337.csv
2010-03-09 23:08:48.818 (3) [main]: DatabasePool with a limit of 80 created
2010-03-09 23:08:48.989 (3) [main]: getAbsolutePath() returned /tmp/abtl39337.csv
2010-03-09 23:08:49.309 (3) [main]: Writing file to /tmp/DiscrepanciesReport3.csv
2010-03-09 23:08:49.320 (3) [main]: ... done
2010-03-09 23:08:49.321 (3) [main]: Report generated successfully at follwing
location /tmp/DiscrepanciesReport3.csv
Expected :
If we are passing End date/start as Future date to the scripts, Usage
message/Error Message should be shown saying ,"Neither of start or end date can
be in the future. Please adjust your date range."