?
Related to # 4686
avatar adrianfso
adrianfso
14 Oct 2014

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

avatar adrianfso adrianfso - open - 14 Oct 2014
avatar brianteeman
brianteeman - comment - 15 Oct 2014

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.

avatar brianteeman brianteeman - change - 15 Oct 2014
Title
(SOLVED) Unable to create new contact item in mssql
Unable to create new contact item in mssql
avatar adrianfso
adrianfso - comment - 15 Oct 2014

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.

avatar nicksavov nicksavov - change - 16 Oct 2014
Labels Added: ?
avatar nicksavov
nicksavov - comment - 16 Oct 2014

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.

avatar jissues-bot jissues-bot - close - 16 Oct 2014
avatar zero-24 zero-24 - close - 16 Oct 2014
avatar brianteeman brianteeman - change - 16 Oct 2014
Status New Closed
Rel_Number 4686
Relation Type Related to
avatar brianteeman
brianteeman - comment - 16 Oct 2014

Please see proposed solution #4686

avatar jissues-bot
jissues-bot - comment - 16 Oct 2014
avatar jissues-bot jissues-bot - change - 16 Oct 2014
Closed_Date 0000-00-00 00:00:00 2014-10-16 17:04:59
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment