stephenmcd/mezzanine — Issue #116: Keywords (for posts, etc) get duplicated, and they can't be removed
Author: derkaderka
Created: 2011-12-29 19:30:43+00:00
State: open

Whenever a blog post or page is edited, and keywords are entered in the appropriate field separated by commas, the text processing seems to lack proper checking for existent keywords, thus registering duplicates.

From reading the html output we can infer that it happens whenever spaces are present between the commas and each word:

+ linux+ linux

(note the slight difference, there is a preceding space)

This bug is aggravated by the fact that we lack a facility to remove keywords in the admin. The fix for this problem should include a manage.py command or some such to have the duplicate tags removed, since this likely affected users out there (us included), and we can't manually fix dozens of posts.