[wp-trac] [WordPress Trac] #4864: Convert Category to Tag when Cat.
already exists as tag results in warning of duplicate entry
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 29 20:13:06 GMT 2007
#4864: Convert Category to Tag when Cat. already exists as tag results in warning
of duplicate entry
-------------------------+--------------------------------------------------
Reporter: foolswisdom | Owner: ryan
Type: defect | Status: new
Priority: normal | Milestone: 2.3
Component: General | Version: 2.3
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Convert Category to Tag when Cat. already exists as tag results in warning
of duplicate entry
ENV: WP trunk r5976 (2.3beta1+)
Repro: [[br]
1. Create a post with category and tag of 'same' [[br]
2. Convert 'same' category to tag
RESULTS [[br]
Converting category #4...
{{{
WordPress database error: [Duplicate entry '4-post_tag' for key 2]
UPDATE wp_term_taxonomy SET taxonomy = 'post_tag' WHERE term_id = '4' AND
taxonomy = 'category'
Converted successfully.
}}}
--
Ticket URL: <http://trac.wordpress.org/ticket/4864>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list