Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1897

OAI Returns Inactive Collections in ListSets request

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.x-1.9
    • Component/s: OAI Provider
    • Labels:
      None

      Description

      When using the SPARQL query provider the OAI module will return inactive collections to a ListSets request.

      This query doesn't specify active:
      https://github.com/Islandora/islandora_oai/blob/7.x/includes/handler.inc#L777-L787

      but this one does:
      https://github.com/Islandora/islandora_oai/blob/7.x/includes/handler.inc#L643

      We shouldn't allow inactive collections to be harvested.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonathan.green Jonathan Green
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: