Uploaded image for project: 'Opencast'
  1. MH-10546

Episode Service REST endpoint misbehaving

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects versions: 1.5.1, 1.6.0
    • Fix versions: 1.5.2
    • Components: RESTful Interfaces
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Process many workflows
      2. Go to /episode/episodes.json?limit=0
       
       Actual Results:
      The REST docs specify that a limit less than one is 'unlimited'. What the logic does (in multiple places) is refuse to set values less than one, or throw exceptions.
       
       Expected Results:
      A list of all of the episodes in the system

      After removing the code that refuses values less than zero, setting a limit of zero appears to work properly in that it returns zero results. We should remove the inaccurate documentation.
      Show
      Steps to reproduce: 1. Process many workflows 2. Go to /episode/episodes.json?limit=0    Actual Results: The REST docs specify that a limit less than one is 'unlimited'. What the logic does (in multiple places) is refuse to set values less than one, or throw exceptions.    Expected Results: A list of all of the episodes in the system After removing the code that refuses values less than zero, setting a limit of zero appears to work properly in that it returns zero results. We should remove the inaccurate documentation.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              greg_logan Greg Logan
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases