Download & Extend

Cleanup Abandoned Database Rows Left Over from D5

Project:FileField
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:quicksketch
Status:closed (fixed)

Issue Summary

This was brought to my attention in #310047: Field is not removed from shared content_field_XXX table on delete, where files that were deleted were leaving their data in the field tables. This means that sites upgraded from Drupal 5 are also likely have a large number of lingering entries in their field tables that don't actually match any entries in the files table.

This update sets those rows properly to NULL.

AttachmentSize
filefield_empty_rows_update.patch1.32 KB

Comments

#1

Status:needs review» fixed

Committed.

#2

Status:fixed» closed (fixed)

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

nobody click here