Hi,
While doing this in my OperationActions class :
public function executeTag()
{
$tags = $this->getRequestParameter('tag');
$operation = OperationPeer::retrieveByPk( $this->getRequestParameter('id') );
if ( strlen($tags) )
{
$operation->removeAllTags();
$operation->addTag( $tags );
$operation->save();
}
return $this->renderText( implode(', ',$operation->getTags() ) );
}
I had problems when a tag had to be removed and added in the same time...
(first tag was not saved when a comma separated list was given and this first one already exist)
(All tags where definitely removed when trying to add/remove the same list of tags)
So I made some changement as you will see in the attached file.
Bye