I made some tests and I see that $node->unitag_blacklisted only shows a the warning message when there is a $node->unitag_suggestions in the same time.
If all terms inserted on a node are blacklisted, no message is given.

Comments

rogeriodec’s picture

The solution:
unitag.module (line 170):

from:

if (!empty($terms_new)) {
      form_set_value(array('#parents' => array('unitag_suggestions')), $terms_new, $form_state);
      form_set_value(array('#parents' => array('unitag_blacklisted')), $terms_blacklisted, $form_state);
  }

to:

    if (!empty($terms_new)) form_set_value(array('#parents' => array('unitag_suggestions')), $terms_new, $form_state);
    if (!empty($terms_blacklisted)) {
		form_set_value(array('#parents' => array('unitag_blacklisted')), $terms_blacklisted, $form_state);
		if (empty($terms_new) and empty($resolved['parsed'])) form_set_error('', t('All terms were denied. Enter at least one valid term.'));
	}
rogeriodec’s picture

Also would be better make the blacklist message as 'warning':

    if (!empty($node->unitag_blacklisted)) {
      drupal_set_message(t('The following tags have been denied: %tags', array('%tags' => implode(', ', $node->unitag_blacklisted))),'warning');
    }