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

Unable to create new contact item in mssql #4671

Closed
adrianfso opened this issue Oct 14, 2014 · 5 comments
Closed

Unable to create new contact item in mssql #4671

adrianfso opened this issue Oct 14, 2014 · 5 comments

Comments

@adrianfso
Copy link

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

@brianteeman
Copy link
Contributor

Changed the title

Please can you submit a pull request with your changes

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4671.

@jissues-bot jissues-bot changed the title (SOLVED) Unable to create new contact item in mssql Unable to create new contact item in mssql Oct 15, 2014
@adrianfso
Copy link
Author

Not 100% clear on how to do that properly, but I've created the pull request.

#4686

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4671.

@nicksavov
Copy link
Contributor

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.

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4671.

@jissues-bot
Copy link

Set to "closed" on behalf of @brianteeman by The JTracker Application at issues.joomla.org/joomla-cms/4671

@brianteeman
Copy link
Contributor

Please see proposed solution #4686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants