User tests: Successful: Unsuccessful:
go to the article manager and create a new article or edit an existing article In the tags field create a tag on the fly or in other words donĀ“t select an existing tag but put in a new tag. Then hit the "Save".
The article is saved with the new added tag
the tag field is cleared and the article is not saved
PostgreSQL 9.3.5
Joomla 3.4.0
As suggested added a sanity check for NOT NULL FIELDS
fix #6104
Labels |
Added:
?
|
Category | ⇒ | Postgresql SQL |
@waader
i'm experiencing the same issues on postgresql
where the driver return a bad default value for fields of type (TEXT, CHARACTER VARYING) declared NOT NULL WITH DEFAULT , for postgresql i have a fix ,
i guess for MSSQL the same reason
if you can help me on sqlsrv runnnig this query and report back the results
SELECT column_name as Field, data_type as Type, is_nullable as \'Null\', column_default as \'Default\'
FROM information_schema.columns WHERE table_name = #__tags
maybe i will able to find a fix to mssql too
@alikon I modified your sql slightly to
SELECT column_name as Field, data_type as Type, is_nullable as 'Null', column_default as 'Default'
FROM information_schema.columns WHERE table_name = 'aqmag_tags'
and this gives the following back:
id bigint NO NULL
parent_id bigint NO ((0))
lft int NO ((0))
rgt int NO ((0))
level bigint NO ((0))
path nvarchar NO ('')
title nvarchar NO NULL
alias nvarchar NO ('')
note nvarchar NO ('')
description nvarchar NO NULL
published smallint NO ((0))
checked_out bigint NO ((0))
checked_out_time datetime NO ('1900-01-01T00:00:00.000')
access bigint NO ((0))
params nvarchar NO NULL
metadesc nvarchar NO NULL
metakey nvarchar NO NULL
metadata nvarchar NO NULL
created_user_id bigint NO ((0))
created_time datetime NO ('1900-01-01T00:00:00.000')
created_by_alias nvarchar NO ('')
modified_user_id bigint NO ((0))
modified_time datetime NO ('1900-01-01T00:00:00.000')
images nvarchar NO NULL
urls nvarchar NO NULL
hits bigint NO ((0))
language nvarchar NO NULL
version bigint NO ((1))
publish_up datetime NO ('1900-01-01T00:00:00.000')
publish_down datetime NO ('1900-01-01T00:00:00.000')
Thx now is clear, let me prepare a fix.....
Category | Postgresql SQL | ⇒ | Postgresql SQL Tags |
Rel_Number | 0 | ⇒ | 6104 |
Relation Type | ⇒ | Pull Request for |
Confirmed issue
Confirmed PR resolved it
Status | Pending | ⇒ | Ready to Commit |
Two tests setting RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-07-08 12:16:40 |
Closed_By | ⇒ | Kubik-Rubik |
Labels |
Removed:
?
|
@alikon Please try the following:
Save failed with the following error: SQL=INSERT INTO udzse_contentitem_tag_map
Another test case:
Under mssql to get the following error when you try to add a new tag to an existing article:
Save failed with the following error: [Microsoft][SQL Server Native Client 11.0][SQL Server]Error converting data type varchar to bigint.SQL=INSERT INTO ufv5y_tags VALUES ('1','1','17','18','2015-03-05-20-25-47','2015-03-05-20-25-47','Stiege','('''')','1','((0))','2015-03-05 20:25:47','1','{}',' ',' ','{}','((0))','2015-03-05 20:25:47','('''')','((0))','2015-03-05 20:25:47','{}','{}','((0))','*','((1))','2015-03-05 20:25:47','2015-03-05 20:25:47')