Comment Upload D7 Migration

Categories

Component ID

1292764

Component name

Comment Upload D7 Migration

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module (which should end up as the D7 version of Comment Upload) migrates the D6 comment_upload fields to the Image fields using the Field API in Drupal 7.

To use it:

  1. Install the module on a site already upgraded from Drupal 6 that had comment_upload.
  2. Run update.php
  3. Disable and uninstall the module to remove the remains of D6 tables and variables.

Issues:

  • It's up to you to configure the field settings after the migration.
  • This brings the comment_upload files in as imagefields, although one of the options in the D6 version was basically a filefield. That means that you can't work with anything except image files. Somebody could easily provide a patch that changes the file type to a filefield when the variable 'comment_upload_images_<type>' variable is 'none'.

Please try it out and see if it works OK for you.