?
avatar waader
waader
8 Jan 2017

Steps to reproduce the issue

Go to an article and create a category on the fly. You should get this error:
515 [Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert the value NULL into column 'description', table 'joomla35.dbo.#__categories'; column does not allow nulls. INSERT fails.

Expected result

Actual result

System information (as much as possible)

Additional comments

avatar waader waader - open - 8 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jan 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Jan 2017
avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jan 2017

similar solution to #13510

avatar waader
waader - comment - 8 Jan 2017

These fields need default values in order to make this work for mssql:

[description] [nvarchar](max) NOT NULL DEFAULT '',
[params] [nvarchar](max) NOT NULL DEFAULT '',
[metadesc] [nvarchar](1024) NOT NULL DEFAULT '',
[metakey] [nvarchar](1024) NOT NULL DEFAULT '',
[metadata] [nvarchar](2048) NOT NULL DEFAULT '',
avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jan 2017

yes we need to make a similair PR of #13513 but for the #__categories table.

avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jan 2017

working on it

avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Jan 2017

please test #13514

avatar zero-24 zero-24 - change - 8 Jan 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-01-08 15:26:03
Closed_By zero-24
avatar zero-24 zero-24 - close - 8 Jan 2017

Add a Comment

Login with GitHub to post a comment