After doing a Drupal 5 -> Drupal 6 upgrade, all my imagefield_crop fields are unavailable. It reports the following error message at the top of the Manage Fields page
This content type has inactive fields. Inactive fields are not included in lists of available fields until their modules are enabled.
image (field_my_image_filed) is an inactive Image field that uses a image crop widget.
I have the module enabled and am able to create new fields without any problems.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | imagefield_crop_d6_upgrade.patch | 839 bytes | mrfelton |
Comments
Comment #1
yhager commentedCan you check the upgrade without imagefield_crop? I believe this is related to imagefield more than to imagefield_crop, since the latter is simply a widget, not a field module.
Comment #2
mrfelton commentedI'm pretty sure this issue lies in the imagefield_crop module. See http://drupal.org/node/296195 for details and solution for an almost identical problem with the imagefield module.
From a quick look at your code I can see that you have named your widget 'image crop' in the drupal 5 version, and 'imagefield_crop_widget', yet you do not include an update_6000() that makes this change when upgrading from D5 to D6.
Comment #3
mrfelton commentedAttached is a patch which makes the needed updates (it's based on the update code that runs in in the imagefield module). Seems to have fixed the problem :)
Comment #4
yhager commentedCommitted and tested on 6.x-1.0-beta1.
Thanks!