Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Paul,
I used the spring-docs project to exercise spring-content functionality; it is still a good way to test the various components.
With the 2.3.4.RELEASE version of spring-boot, I encountered a few issues. I shared the details in case something is worth another look or you want to keep.
Here is a summary:
-This occurs if you do not have elasticsearch configured and didn't set spring.content.elasticsearch.autoindex=false. The system throws UndeclaredThrowableException, but it is not the full stack trace. During testing, I update the class to catch and print the exception to identify the issue. Line 200 in ContentStoreContentService was throwing the exception (i.e., Object updatedDomainObj = ReflectionUtils.invokeMethod(methodToUse, targetObj, updateObject, contentArg)). See
UndeclaredThrowableExceptionFullStack.txt full stack trace.
UndeclaredThrowableException.txt
UndeclaredThrowableExceptionFullStack.txt