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
remove all Problems from fcrepo-kernel-api #947
Conversation
@@ -47,6 +47,10 @@ | |||
<artifactId>javax.inject</artifactId> | |||
</dependency> | |||
<dependency> | |||
<groupId>org.modeshape</groupId> |
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.
Do you see what requires org.modeshape
in the fcrepo-jms
module? It seems like that is the next target.
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.
Yes, it is the JCR_CONTENT constant. It implies a deeper investigation as to why it is escaping the fcrepo-kernel-modeshape module. And yes, it is most certainly a good "next target".
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.
Also, I suspect that finding where the JCR_CONTENT value is escaping from fcrepo-kernel-modeshape will also help remove that from fcrepo-module-auth-webac: http://git.io/v854c
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.
👍
@ajs6f updated PR with your suggestions |
return repoMgr.backupRepository(backupDirectory); | ||
final Collection<Throwable> problems = new ArrayList<>(); | ||
|
||
repoMgr.backupRepository(backupDirectory).forEach(x -> { |
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 for braces and newlines here, just .backupRepository(backupDirectory).forEach(x -> problems.add(x.getThrowable()));
Resolved with: 89b8bff |
Resolves: https://jira.duraspace.org/browse/FCREPO-1834