Closed (won't fix)
Project:
Image
Version:
6.x-1.0-alpha3
Component:
image_attach
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Apr 2008 at 19:13 UTC
Updated:
15 Jan 2009 at 03:15 UTC
When viewing the admin/build/views page, image_attach's form_alter function generates two PHP notices because the $form array contains no #value element in 'type', only #default_value:
[type] => Array
(
[#type] => select
[#title] => Storage
[#options] => Array
(
[all] => <All>
[Normal] => Normal
[Default] => Default
[Overridden] => Overridden
)
[#default_value] => all
)
Comments
Comment #1
cannedbrain commentedI'm using Image 6.x-1.0-alpha3 on drupal 6.4. Image attach quit working after I uninstalled & reinstalled Image. phpmyadmin reported there was "no index defined" in image & image_attach tables. I could recreate image table as suggested here (parent article) but still clueless on how to fix image_attach.
Comment #2
cannedbrain commentedWell, based on the information I gathered from googling, I went ahead and created 2 indexes in image_attach table, PRIMARYKEY that contains 'nid' field and INDEX containing 'iid' field. So far so good, but I have no idea how to write a patch for it.
Comment #3
sunThis does not seem to be valid anymore.