OAI service returns unpublished agent

Description

While testing the OAI service, I had a repository with a published collection that linked to an unpublished agent.
When I requested the OAI record for that collection, the unpublished agent was returned with the rest of the collection data.
I had expected that the unpublished agent record would not be included. We cannot enable OAI for our repository if unpublished agents can be returned.

Environment

None

Status

Assignee

Lora Woodford

Reporter

Michelle Paquette

Labels

Priority

Major
Configure