working on the patch at: http://drupal.org/node/164532

when the unique index on filters is added, this bug in the the install code come to light:

Warning: Duplicate entry '1-filter-3' for key 2 query: INSERT INTO filters (format, module, delta, weight) VALUES (1, 'filter', 3, 10) in /Users/Shared/www/drupal6/includes/database.mysql.inc on line 167

Appears to be a typo from when the HTML corrector was added.

trivial patch attach should correct this - without this patch, on install the HTML corrector is not added to the full HTML filter as intended. This can be verified at admin/settings/filters/2

CommentFileSizeAuthor
correct-filter-install-0.patch904 bytespwolanin

Comments

gábor hojtsy’s picture

Status: Reviewed & tested by the community » Fixed

Indeed, this is a bogus copy-paster from a few lines above. Committed, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.