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

UpdateBy* doesn't work anymore in micronaut-data:4.8 #3139

Closed
FrogDevelopper opened this issue Sep 19, 2024 · 1 comment · Fixed by #3140
Closed

UpdateBy* doesn't work anymore in micronaut-data:4.8 #3139

FrogDevelopper opened this issue Sep 19, 2024 · 1 comment · Fixed by #3140
Assignees
Labels
type: bug Something isn't working type: regression A breaking change was introduced in a minor or patch release

Comments

@FrogDevelopper
Copy link

FrogDevelopper commented Sep 19, 2024

Expected Behavior

When updating an entity using updateBy*, the entity is updated using the parameters as criteria

Actual Behaviour

The entity is not updated anymore

Steps To Reproduce

  1. Clone repository https://github.com/FrogDevelopper/micronaut-4_5
  2. Check in gradle.properties that micronaut version is 4.4.3 (= micronaut-data:4.7.1)
  3. Run test MyItemRepositoryTest#should_updateByField1 => test pass ✅
  4. Update gradle.properties to use micronaut version 4.5.1 (= micronaut-data:4.8.1)
  5. Run again test MyItemRepositoryTest#should_updateByField1 => test fails ❌

Environment Information

JDK Version: 21

Example Application

https://github.com/FrogDevelopper/micronaut-4_5

Version

4.5.1

@FrogDevelopper FrogDevelopper changed the title UpdateBy* doesn't work anymore UpdateBy* doesn't work anymore in micronaut-data:4.8 Sep 19, 2024
@graemerocher graemerocher added type: bug Something isn't working type: regression A breaking change was introduced in a minor or patch release labels Sep 19, 2024
@radovanradic radovanradic linked a pull request Sep 20, 2024 that will close this issue
@radovanradic
Copy link
Contributor

Fixed in #3140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working type: regression A breaking change was introduced in a minor or patch release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants