Skip to content

Conversation

@imzhoukunqiang
Copy link
Contributor

@imzhoukunqiang imzhoukunqiang commented Jul 26, 2023

DefaultRedisSerializationContextBuilder.string() should assign param to stringTuple instead of hashValueTuple
see #2651

  • You have read the Spring Data contribution guidelines.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

@imzhoukunqiang imzhoukunqiang changed the title Fix bug issues/2651 Fix bug issues/2651 ,wrong assignment in DefaultRedisSerializationContextBuilder.string Jul 26, 2023
@imzhoukunqiang imzhoukunqiang marked this pull request as ready for review July 26, 2023 16:12
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 26, 2023
@jxblum jxblum self-assigned this Jul 27, 2023
@jxblum jxblum added this to the 2.7.15 (2021.2.15) milestone Jul 27, 2023
@jxblum jxblum added type: bug A general bug in: core Issues in core support and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 27, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
…' to 'stringTuple'.

Currently, the builder method incorrectly assigns 'tuple' SerializationPair<String> argument to 'hashValueTuple'.

Closes spring-projects#2651
Original pull request: spring-projects#2652
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
…' to 'stringTuple'.

Currently, the builder method incorrectly assigns 'tuple' SerializationPair<String> argument to 'hashValueTuple'.

Closes spring-projects#2651
Original pull request: spring-projects#2652
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
…ilder.string().

Currently, the builder method incorrectly assigns 'tuple' SerializationPair<String> argument to 'hashValueTuple'.

Closes spring-projects#2651
Original pull request: spring-projects#2652
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
…ilder.string().

Currently, the builder method incorrectly assigns 'tuple' SerializationPair<String> argument to 'hashValueTuple'.

Closes spring-projects#2651
Original pull request: spring-projects#2652
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
…ilder.string().

Currently, the builder method incorrectly assigns 'tuple' SerializationPair<String> argument to 'hashValueTuple'.

Closes spring-projects#2651
Original pull request: spring-projects#2652
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 27, 2023
jxblum pushed a commit to jxblum/spring-data-redis that referenced this pull request Jul 28, 2023
…ilder.string().

Currently, the builder method incorrectly assigns 'tuple' SerializationPair<String> argument to 'hashValueTuple'.

Closes spring-projects#2651
Original pull request: spring-projects#2652
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 28, 2023
jxblum added a commit to jxblum/spring-data-redis that referenced this pull request Jul 28, 2023
@jxblum jxblum closed this Jul 28, 2023
@jxblum
Copy link
Contributor

jxblum commented Jul 28, 2023

This has been reviewed, polished and merged back to 2.7.x (onward). Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: core Issues in core support type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants