Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
InternalVersionHistoryImpl.getVersion currently wraps RepositoryExceptions that occur on "reload()" into a RuntimeException. This may cause the RepositoryChecker to abort when attempting to fix a repository, defeating the point of running it.
I see two options:
1) Add "throws RepositoryException" to the signature so no wrapping is needed; this will cause similar changes in various interfaces and implementations; but it appears to be straightforward.
2) Modify the RepositoryChecker to catch RuntimeExceptions as well.
Attachments
Issue Links
- is related to
-
JCR-3017 Version history recovery fails in case a version does not have a jcr:frozenNode
- Closed