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

Makes fedora 3 datastream content available. #6

Merged
merged 1 commit into from Sep 27, 2013

Conversation

mikedurbin
Copy link

The bug was that the Connector implementation (Fedora3FederationConnector) failed to override getBinaryValue method. Though the Document returned by this connector (and others) includes an ExternalBinaryValue impelementation as the jcr:data property to the jcr:content document, when it's translated into a node a call is made to the connector to get the ExternalBinaryValue, and if null is returned, silently replaces the existing binary value with an empty one.

This was rather hard to track down, but the fix includes quite a bit of refactoring and improvements to the test rigging.

Added integration tests and refactored unit tests.
awoods pushed a commit that referenced this pull request Sep 27, 2013
Makes fedora 3 datastream content available.
@awoods awoods merged commit 3b5bc0c into fcrepo4-archive:master Sep 27, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants