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

Search service returns incorrect limit in some cases

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects versions: 1.4.0
    • Fix versions: None
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      http://testallinone.usask.ca:8080/search/series.xml?limit=20
      will return
      […]
      <search-results xmlns="http://search.opencastproject.org" xmlns:ns2="http://mediapackage.opencastproject.org" searchTime="1" total="2" limit="2" offset="0">
      […]

      Obviously, the limit was set to 20 and not to 2. This always happens if less then limit objects are in the result set. But clearly less results should not effect the limit of possible results which could have been returned if enough data were available.
      Show
      http://testallinone.usask.ca:8080/search/series.xml?limit=20 will return […] <search-results xmlns=" http://search.opencastproject.org " xmlns:ns2=" http://mediapackage.opencastproject.org " searchTime="1" total="2" limit="2" offset="0"> […] Obviously, the limit was set to 20 and not to 2. This always happens if less then limit objects are in the result set. But clearly less results should not effect the limit of possible results which could have been returned if enough data were available.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lkiesow Lars Kiesow
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                TestRail: Cases