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-issuemaster opened this issue Aug 14, 2018 · 1 comment

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster 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:

  • #17179 Remove pre-3.2 deprecated classes and methods
  • #21716 Rewrite 1.10.8. PDF, Excel paragraph in Spring Framework Documentation

Backported to: 4.3.19

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Aug 14, 2018

Juergen Hoeller commented

Well spotted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.