Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-1993

DataChecker_backend:No Usage/Error Message if End date is before start date.

    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:
      3606

      Description

      -----------------------------------------------------------------
      Project: DataChecker
      Component Used: ./generate-discrepancies.sh
      Build: /var/local/builds/tsa-build-bidmgr-2010-03-09-p14-r25168
      ------------------------------------------------------------------

      If we are passing End date (-E)

      {E.g. 2010-02-02}

      value before the Start Date
      (-T) E.g.

      {2010-03-02}

      to generate-discrepancies script, script executed
      successfully without showing any usage/error message.

      tsaapp@tvvm-staging-xml1:/var/local/builds/tsa-build-bidmgr-2010-03-09-p14-r25168$
      ./generate-discrepancies.sh -d3 -account 289 -distribution 3 -E 2010-02-02 -T
      2010-03-09
      2010-03-09 22:38:33.086 (3) [main]: Debug Level set to 3
      2010-03-09 22:38:43.128 (3) [main]: getAbsolutePath() returned /tmp/abtl15912.csv
      2010-03-09 22:38:43.152 (3) [main]: Connected to URL
      "http://tvvm-staging-svc2:8080//reports/1/report_163565.csv"
      2010-03-09 22:38:43.272 (3) [main]: getAbsolutePath() returned /tmp/abtl15912.csv
      2010-03-09 22:38:43.891 (3) [main]: DatabasePool with a limit of 80 created
      2010-03-09 22:38:44.010 (3) [main]: getAbsolutePath() returned /tmp/abtl15912.csv
      2010-03-09 22:38:44.040 (3) [main]: Writing file to /tmp/DiscrepanciesReport3.csv
      2010-03-09 22:38:44.043 (3) [main]: ... done
      2010-03-09 22:38:44.044 (3) [main]: Report generated successfully at follwing
      location /tmp/DiscrepanciesReport3.csv

      Expected :

      Usage/Error message should be displayed saying "End date should greater than
      start date"

      ****Also Correct the spell "Following" in console log.

        Attachments

          Activity

            People

            • Assignee:
              rupesh.kumar Rupesh Kumar Vijay (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: