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

Do not register SpringDataWebSettings if pageSerializationMode is default #3054

Closed
wants to merge 1 commit into from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Mar 1, 2024

allow application to register their own SpringDataWebSettings without @Primary

see spring-projects/spring-boot#39797 (comment)

…ault

allow application to register their own SpringDataWebSettings without @primary

see spring-projects/spring-boot#39797 (comment)
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 1, 2024
@mp911de mp911de requested a review from odrotbohm March 4, 2024 09:27
@odrotbohm odrotbohm removed the status: waiting-for-triage An issue we've not yet triaged label Aug 27, 2024
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 27, 2024
odrotbohm pushed a commit that referenced this pull request Aug 27, 2024
We now refrain from registering a SpringDataWebSettings instance as bean in the ApplicationContext if @EnableSpringDataWebSupport is used without an explicit declaration of pageSerializationMode. This allows Spring Boot to use the annotation, but allow the attribute value to be configured via a property at the same time.

See spring-projects/spring-boot#39797 (comment) for details.

Fixes GH-3054.
odrotbohm added a commit that referenced this pull request Aug 27, 2024
Related ticket GH-3054.
@odrotbohm odrotbohm closed this in e074fcc Aug 27, 2024
odrotbohm added a commit that referenced this pull request Aug 27, 2024
Related ticket GH-3054.
@odrotbohm
Copy link
Member

Thanks for the contribution. This polished and merged.

@odrotbohm odrotbohm added this to the 3.3.4 (2024.0.4) milestone Aug 27, 2024
@odrotbohm odrotbohm removed the status: waiting-for-triage An issue we've not yet triaged label Aug 27, 2024
@mp911de mp911de added the type: bug A general bug label Aug 28, 2024
mipo256 pushed a commit to mipo256/spring-data-commons that referenced this pull request Sep 21, 2024
We now refrain from registering a SpringDataWebSettings instance as bean in the ApplicationContext if @EnableSpringDataWebSupport is used without an explicit declaration of pageSerializationMode. This allows Spring Boot to use the annotation, but allow the attribute value to be configured via a property at the same time.

See spring-projects/spring-boot#39797 (comment) for details.

Fixes spring-projectsGH-3054.
mipo256 pushed a commit to mipo256/spring-data-commons that referenced this pull request Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants