Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class SendToPresenterAction hampers testing of OAI-PMH because of addRelsExtRelationships method #41

Open
aquast opened this issue Dec 6, 2020 · 1 comment

Comments

@aquast
Copy link
Contributor

aquast commented Dec 6, 2020

The if-clause there asks if Contractors are testContractors. If so, the OPENARCHIVES-Rels will not be set. In consequence no testing of OAI-PMH is possible within Testsystem.

Please consider to remove or refine the if clause accordingly. Thanks

		if (!(preservationSystem.getClosedCollectionName()+":").equals(collection) && 
			// don't add test packages to OAI-PMH
			!testContractors.contains(o.getContractor().getShort_name())
		) {
			String oaiId = OAI_DANRW_DE + o.getIdentifier();
			repositoryFacade.addRelationship(o.getIdentifier(), collection, OPENARCHIVES_OAI_IDENTIFIER, oaiId);
			logger.debug("Added relationship: "+OPENARCHIVES_OAI_IDENTIFIER+" " + oaiId);
		}
@aquast
Copy link
Contributor Author

aquast commented Dec 6, 2020

Unfortunately, within the production system the ITEMID relationship in RELS-EXT Datastream is missing too. Not only for objects closed for public access, but also for objects free for open access.
Therefore Display in OAI-PMH and distribution to DDB and Europeana is not possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant