Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-3425

outputstream gets closed in JSONDiscoverySearcher

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5, 5.6, 6.0
    • Fix Version/s: 5.7, 6.1
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Needed

      Description

      When doing a call to

      {dspace}

      /JSON/discovery/search, no output is returned.
      The cause for this is the output stream being closed in JSONDiscoverySearcher.
      This was committed for DS-3246.

      https://jira.duraspace.org/browse/DS-3246
      https://github.com/DSpace/DSpace/pull/1437

      Not sure why the out.close() was added, but removing it restores normal output for a JSON/discovery/search call.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                samuelcambien Samuel Cambien (Atmire)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: