-
Notifications
You must be signed in to change notification settings - Fork 189
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
NotNullConstraintViolation when Sharing to User #1375
Comments
Any ideas @mnassabain ? |
The first thing that comes to my mind is this line. |
That seems like a reasonable assumption. You'll have to look into how doctorine handles this. |
Sorry for the late reply, quick update: I think I've managed to solve it, I'll be creating a pull request in the coming days |
This is done to set the id to null BEFORE resetting the updated fields. The purpose of this is to avoid explicitly adding a NULL id into the DB, which provokes an error in some DBMS (like postgres). Fixes nextcloud#1375
This is done to set the id to null BEFORE resetting the updated fields. The purpose of this is to avoid explicitly adding a NULL id into the DB, which provokes an error in some DBMS (like postgres). Fixes nextcloud#1375 Signed-off-by: Marco Nassabain <[email protected]>
This is done to set the id to null BEFORE resetting the updated fields. The purpose of this is to avoid explicitly adding a NULL id into the DB, which provokes an error in some DBMS (like postgres). Fixes #1375 Signed-off-by: Marco Nassabain <[email protected]>
This is done to set the id to null BEFORE resetting the updated fields. The purpose of this is to avoid explicitly adding a NULL id into the DB, which provokes an error in some DBMS (like postgres). Fixes nextcloud#1375 Signed-off-by: Marco Nassabain <[email protected]>
IMPORTANT
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
Explain the Problem
I am trying out the new 16-beta1 and wanted to test the sharing functionality. After clicking the share symbol and selecting the user, I get an error displayed and the error log: (full log basted below)
Steps to Reproduce
Explain what you did to encounter the issue
System Information
Contents of nextcloud/data/nextcloud.log
The text was updated successfully, but these errors were encountered: