Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1071

Feed Listing API default behaviour for start and end not handled properly.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • None
    • feed
    • None
    • QA

    Description

      The default values of start and end, in case they aren't specified are as follows:

      start <optional param> 
          By default, it is set to (end - (10 * entityFrequency)).
      
      end <optional param> 
          Default is set to now.
      

      So, when only start is specified, it still takes the default value of end as now. Therefore, if a start time of say 2012 is specified, the output will be a massive 3 years worth instance information. If just start is specified, we can probably take the default value of end as start + (10*frequency), as is for the vice versa case.

      Attachments

        1. FALCON-1071.patch
          4 kB
          Suhas Vasu
        2. FALCON-1071-v2.patch
          9 kB
          Suhas Vasu
        3. FALCON-1071-v3.patch
          8 kB
          Suhas Vasu

        Activity

          People

            suhas.ysr Suhas Vasu
            karishmag9 Karishma Gulati
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: