-
Notifications
You must be signed in to change notification settings - Fork 198
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
@DateCreated: Breaking change in micronaut-parent:4.3.2 #2808
Comments
I previously reported something similar in #2342. I was unaware that it was ever working correctly. I'm currently using 4.2.4 and still experience this. |
This one is indeed different issue and is caused by micronaut-sql 5.5.1 release. The workaround for this is either adding |
@roar-skinderviken I have verified this is solved with 4.3.5 |
Hi @sdelamo Build for this PR created by Dependabot for bumping to MN:4.3.5 fails with the same error: But I can see that 4.3.6 is mentioned above, so maybe wait for that one. |
Hi again @sdelamo Tests are not passing with MN:4.3.6. Could you please describe how you made tests in the example repo passing with MN:4.3.5? |
sorry, I had in your sample project both version updated to <dependency>
<groupId>io.micronaut.validation</groupId>
<artifactId>micronaut-validation</artifactId>
</dependency> and that make it work. |
I have reverted the change to micronaut-sql micronaut-projects/micronaut-sql#1300 |
So micronaut-sql 5.5.2 reverts this change, and it will be in the next 4.3.x release of Micronaut (4.3.8) Thanks @roar-skinderviken for the report! |
Expected Behavior
When saving an entity with a field like this
I expect field to be populated during persistence of instance like it did with MN:4.3.1.
Actual Behaviour
With MN:4.3.2 in the example application, I get this test-error:
Steps To Reproduce
In the example-app, bump micronaut-parent from 4.3.1 to 4.3.2 or 4.3.3 and run
and observe that tests in DemoRepositoryTest are now failing.
Environment Information
Ubuntu 22.04
JDK 17
Kotlin 1.9.22
Example Application
https://github.com/roar-skinderviken/postgres-testcontainer-demo
Version
4.3.3
The text was updated successfully, but these errors were encountered: