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
PUT/POST must fail if triples not persisted #801
Conversation
I can't comment on this PR because @whikloj has made it from his clone and not from the fcrepo4 repo, but I don't think you have to explicitly call |
I am getting test failures when building this PR:
|
Fail on POST/PUT with out-of-domain RDF
@@ -89,13 +89,15 @@ public boolean apply(final Triple t) { | |||
"Discovered a Fedora-relevant subject in triple: {}.", | |||
t); | |||
} else { | |||
LOGGER.debug("Ignoring triple: {}.", t); | |||
LOGGER.error("subject ({}) is not in repository domain.", t.getSubject().toString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to explicitly call toString()
here.
Addresses FCREPO-1417