?
Referenced as Pull Request for: # 6314
avatar waader
waader
17 Feb 2015

On a postgresql installation: 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 tag field will be cleared. When you pressed "Save & Close" the tag field will be cleared and the article mask will not be closed.

avatar waader waader - open - 17 Feb 2015
avatar joomla-cms-bot joomla-cms-bot - change - 17 Feb 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 18 Feb 2015
Category Postgresql Tags
avatar brianteeman brianteeman - change - 25 Feb 2015
Labels Removed: ?
avatar brianteeman brianteeman - change - 25 Feb 2015
Labels Added: ?
avatar alikon
alikon - comment - 3 Mar 2015

i've experienced the same issue but i'm not sure if my fix is good
the problem is always the same fields declared as NOT NULL needs a valus

my dirty fix on line 232 of libraries\cms\helper\tags.php i've added

// Initialize some variables.
                $db = JFactory::getDbo();
                $query = $db->getQuery(true);
            $tagTable->checked_out_time = $query->currentTimestamp();
            $tagTable->publish_up = $query->currentTimestamp();
            $tagTable->publish_down = $query->currentTimestamp();
            $tagTable->params = '{}';
            $tagTable->metadesc= ' ';
            $tagTable->metakey= ' ';
            $tagTable->metadata= ' ';
            $tagTable->images= ' ';
            $tagTable->urls= ' ';
avatar wilsonge
wilsonge - comment - 4 Mar 2015

This is a very dirty fix ^.^

I think this should be done in the table check rather than in the helper. Urls and images as per other fields should be empty json encoded (like the params is). But :+1: for the principle

avatar brianteeman brianteeman - change - 23 May 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-05-23 08:42:01
Closed_By brianteeman
avatar brianteeman brianteeman - close - 23 May 2015
avatar brianteeman
brianteeman - comment - 23 May 2015

closed as we have a PR #6314


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

Add a Comment

Login with GitHub to post a comment