Skip to content

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

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions