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

jsonArrpop fails with null return value (#3196) #3206

Merged
merged 5 commits into from
Mar 10, 2025

Conversation

tishun
Copy link
Collaborator

@tishun tishun commented Mar 10, 2025

When reading a response from the server one or more of the array values, containing JSON data, could be null.
We need to handle that properly by returning a JsonValue that represents a null value.

Closes #3196

Make sure that:

  • You have read the contribution guidelines.
  • You have created a feature request first to discuss your contribution intent. Please reference the feature request ticket number in the pull request.
  • You applied code formatting rules using the mvn formatter:format target. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.

@tishun tishun added the type: bug A general bug label Mar 10, 2025
@tishun tishun modified the milestone: 6.5.5.RELEASE Mar 10, 2025
@tishun tishun changed the title Exeption on zpopmin (#3199) Exception on zpopmin (#3199) Mar 10, 2025
@tishun tishun merged commit 341cdad into redis:main Mar 10, 2025
7 checks passed
@tishun tishun deleted the topic/tishun/issue-3199 branch March 10, 2025 14:44
tishun added a commit to tishun/lettuce-core that referenced this pull request Mar 10, 2025
* Handle Null values better when working with JSON

* Incomplete submit after some refactoring

* Sanitize the CI output when running on CI

* Plishing

* Never submit irrelevant changes in your PR
@tishun tishun changed the title Exception on zpopmin (#3199) Exception on zpopmin (#3196) Mar 10, 2025
tishun added a commit that referenced this pull request Mar 10, 2025
* Handle Null values better when working with JSON

* Incomplete submit after some refactoring

* Sanitize the CI output when running on CI

* Plishing

* Never submit irrelevant changes in your PR
@tishun tishun changed the title Exception on zpopmin (#3196) jsonArrpop fails with null return value (#3196) Mar 10, 2025
@tishun tishun changed the title jsonArrpop fails with null return value (#3196) Exeption on zpopmin (#3199) Mar 10, 2025
@tishun tishun changed the title Exeption on zpopmin (#3199) jsonArrpop fails with null return value (#3196) Mar 10, 2025
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.

jsonArrpop fails with null return value
1 participant