-
Notifications
You must be signed in to change notification settings - Fork 66
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
Regression: NPE in StoreResourceResolver #876
Comments
Looks like I was missing a test case for this. I have restored the behavior that I am seeing in 1.2.7 when requesting But I wanted to check with you that that was the behavior you actually expected. You mention using |
If I had the choice, I wouldn't want to expose the Spring Content REST Entity Resources endpoint
|
Describe the bug
Since Spring Content 2.0.0, trying to access an entity over the REST API fails with a NullPointerException in
StoreResourceResolver
when:Accept
header contains*/*
(for example: when requesting a resource with a browser)To Reproduce
Steps to reproduce the behavior:
Document
as an exampleLocation
headerNotes:
Acccept: application/json
request header returns the expected result for spring-content2.0.0
-2.2.0
1.2.7
this works fine withAccept: */*
Stacktrace
A clear and concise description of what the bug is.
The text was updated successfully, but these errors were encountered: