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 set id to undefined #8232
Conversation
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tested on Heroku with the following commit: derrickmehaffy/Strapi-Heroku-Test@dbeccb0
(Also works locally)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, waiting for the tests
Codecov Report
@@ Coverage Diff @@
## master #8232 +/- ##
==========================================
+ Coverage 32.96% 33.03% +0.07%
==========================================
Files 1197 1219 +22
Lines 13020 13563 +543
Branches 1286 1348 +62
==========================================
+ Hits 4292 4481 +189
- Misses 7885 8200 +315
- Partials 843 882 +39
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Any estimate when this will be released? |
It will be in v3.2.2 but we are waiting on some other PRs to be merged to release. |
Thanks for fixing this! Just ran into it myself and will wait for the 3.2.2 release soon :) |
This is now confirmed fixed if you upgrade to 3.2.3. |
I have just installed a fresh 3.2.4 and are having the same issue |
Can you provide more information on your environment as I tested this fix on all 3 OS platforms:
And with most of the databases:
And couldn't reproduce the issue @laportem |
my bad; I am on: i am running strapi and postgres in docker on a vagrantbox runing ubuntu 20.04 (guest machine). This host machine is window 10 Pro |
Are you able to share those vagrant files somewhere? |
you can see the vagrantfile and docker-compose.yml here https://github.com/laportem/strapi_build |
Also lets open up a new thread to discuss this issue, can you create a thread on our Forum so we aren't spamming a merged PR thread ;) |
Signed-off-by: Alexandre Bodin bodin.alex@gmail.com
Description of what you did:
Fix #8227
Setting the attribute id to undefined will run an insert query with an undefined id binding.