Skip to content
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

Removed Jackson view property "renderedAttributes" still mentioned in Spring Framework docs [SPR-17182] #21718

Closed
spring-projects-issues opened this issue Aug 14, 2018 · 1 comment
Assignees
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Aug 14, 2018

Sviatoslav Hryb opened SPR-17182 and commented

Section Web on Servlet Stack, paragraph 1.10.9. Jackson contains mention of removed property RenderedAttributes as far as I know the methods getRenderedAttributes() and setRenderedAttributes(Set<String> renderedAttributes) of class MappingJackson2JsonView were deprecated, removed and superseded by getModelKeys() and setModelKeys(java.util.Set<java.lang.String> modelKeys) respectively.

Also there is incorrect mention of this property in API MappingJackson2JsonView in JavaDoc above method filterModel(java.util.Map<java.lang.String,java.lang.Object> model). When we press it we are redirected to the method setModelKeys(java.util.Set<java.lang.String> modelKeys)


Affects: 4.3.18, 5.0.8

Attachments:

Issue Links:

Backported to: 4.3.19

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Well spotted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: backported An issue that has been backported to maintenance branches type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

2 participants