-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Unable to create new contact item in mssql #4671
Comments
Changed the title Please can you submit a pull request with your changes |
Not 100% clear on how to do that properly, but I've created the pull request. #4686 |
We tested this in an Apache server with MySQL and everything works for us. So it must be isolated to MS SQL or Postgres on IIS. |
Set to "closed" on behalf of @brianteeman by The JTracker Application at issues.joomla.org/joomla-cms/4671 |
Please see proposed solution #4686 |
Steps to reproduce the issue
Create a new contact item, click "Save."
Expected result
A new contact item is successfully created.
Actual result
An error is thrown, showing that the "checked_out" field does not allow nulls.
System information (as much as possible)
J!3.3.6, IIS server, MS-SQL database.
Additional comments
Proposed solution is to update the database to accept "0" as the default for the checked_out database field.
ALTER TABLE dbo.#_contact_details ADD CONSTRAINT DF#__contact_details_checked_out DEFAULT 0 FOR checked_out
The text was updated successfully, but these errors were encountered: