Closed (fixed)
Project:
Insert
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2010 at 21:32 UTC
Updated:
10 Aug 2010 at 03:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
gleroux02 commentedAfter looking at the $form array a little bit further it looks like this issue is that $form['instance']['object_type']['#value'] should be $form['instance']['entity_type']['#value'] on line 255. The second part of the issue where the field is not appearing on the node's edit screen appears that it could be a separate and unrelated issue.
Comment #2
quicksketchThanks, this sounds like an API clean-up that likely occurred in between Drupal 7 versions.
Comment #3
tsvenson commentedJust tried the alpha1 on D7a5 and got the same error with one small exception. Second error referes to line 1772 instead of 1774.
It is possible to enable and configure insert for the CT, but on the node edit page the fieldgroup only contains the label. The images are gone.
Any fix available for this yet?
Comment #4
tsvenson commentedWhen I then edited the image field, to disable Insert, I got the following:
Comment #5
tsvenson commentedSorry, missed the part about changing to entity_type above. However, it doesn't fix the problem.
When editing the image field, both with and without Insert enabled i get:
When disabling Insert I get the following in the Manage Field list:
Only way to get the images back is to disable the Insert module.
Comment #6
BenK commentedSubscribing...
Comment #7
will_in_wi commentedsubscribe
Comment #8
mlncn commentedConverting all (3) object_type references to entity_type per gleroux02 in #1 worked for me.
Comment #9
quicksketchThanks Benjamin! Committed.