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

Incorrect behaviour of search service

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 1.4.1, 1.4.0
    • Fix versions: 1.4.1
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      From the Search Service REST docs:
      id: The ID of the single episode to be returned, if it exists.

      % curl -s 'http://localhost:8080/search/episode.xml?id=355e63c5-8637-4819-874b-47effa3e9386&#39; | xmllint --format - | grep -B1 '<ns2:title>'
          <ns2:mediapackage start="2013-07-17T12:58:00Z" id="4070e20f-424e-4635-bbea-6ee1cf1782a1" duration="3422">
            <ns2:title>ep2</ns2:title>
      --
          <ns2:mediapackage start="2013-07-17T12:57:00Z" id="7070f50b-e3d6-4dcd-8846-0d94ad33f372" duration="3480">
            <ns2:title>ep1</ns2:title>

      It's obvious neither a single episode nor does any of the episode ids match. The behaviou of “id” is more like the one of “sid” for which the docs say:
      sid: Any episode that belongs to specified series id.
      Show
      From the Search Service REST docs: id: The ID of the single episode to be returned, if it exists. % curl -s ' http://localhost:8080/search/episode.xml?id=355e63c5-8637-4819-874b-47effa3e9386&#39; | xmllint --format - | grep -B1 '<ns2:title>'     <ns2:mediapackage start="2013-07-17T12:58:00Z" id="4070e20f-424e-4635-bbea-6ee1cf1782a1" duration="3422">       <ns2:title>ep2</ns2:title> --     <ns2:mediapackage start="2013-07-17T12:57:00Z" id="7070f50b-e3d6-4dcd-8846-0d94ad33f372" duration="3480">       <ns2:title>ep1</ns2:title> It's obvious neither a single episode nor does any of the episode ids match. The behaviou of “id” is more like the one of “sid” for which the docs say: sid: Any episode that belongs to specified series id.
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              lrohner Lukas Rohner
              Reporter:
              lkiesow Lars Kiesow
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases