Dotclear

Ticket #257 (closed defect: fixed)

Opened 17 years ago

Last modified 17 years ago

Tags : tag_posts.php n'indique pas qu'un tag n'existe pas

Reported by: bruno Owned by: olivier
Priority: low Milestone: 2.0
Component: module:plugins Version: 2.0 RC1
Severity: normal Keywords:
Cc:

Description

Si on va sur admin/plugin.php?p=metadata&m=tag_posts&tag=nimportequoi, il reste le bouton "supprimer le tag" qui lève une erreur SQL quand on clique dessus (normal, aucun post n'y est associé).

Ce cas arrive quand on sélectionne tous les billets associés à un tag, et qu'on sélectionne "supprimer des tags". posts_actions.php redirige vers l'url mentionnée, et aucun post n'est associé au tag, puisqu'il n'existe plus.

Il faudrait n'afficher le bouton "supprimer le tag" que s'il y a des billets associés au tag.

Change History

comment:1 Changed 17 years ago by olivier

  • Status changed from new to assigned

comment:2 Changed 17 years ago by olivier

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [1866]) Do not delete tag on empty list. Closes #257.

Note: See TracTickets for help on using tickets.

Sites map