Closed (fixed)
Project:
Formatter Field
Version:
7.x-1.0-beta5
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2012 at 03:06 UTC
Updated:
4 Jun 2018 at 08:04 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #1
ykyuen commentedI have the same problem.
Comment #2
claudiu.cristeaI tried to reproduce the error but no luck. Does it still occur?
Comment #3
ndfarm commentedI have the same problem. I found out, that the image style is saved if I don't upload an image on the first node save.
But when I then edit the node and add an image, the image style is empty again.
Any ideas?
Comment #4
jamiroconca commentedtry to change in function formatter_field_field_widget_form
with
Comment #5
joe_f commentedThanks jamiroconca!
This fix worked for me :-)
Comment #6
stefan.r commentedWe have the same problem when editing a node and changing an existing image in a media field. When we remove the image we lose the formatter settings (data loss!), and the new empty settings get saved incorrectly as the image_style and image_link keys aren't set, which causes #1696524: Undefined index: image_style in image_field_formatter_settings_form.
Upgrading priority to critical because of data loss and as this also causes a notice when viewing a page with nodes that have formatter fields. Any drupal_set_message causes pages not to be cached, which can be a problem on high-traffic sites.
The linked patch solves the issue and looks great to me!
Comment #7
stefan.r commentedComment #8
drusite commentedIt doesn't work, maybe because of the new core version?
Comment #9
sgdev commentedCan confirm patch #6 fixes the issue. Really need to get this committed.
Comment #10
sgdev commentedAlso this is an issue in both 7.x-1.0-beta3 and 7.x-1.x-dev, so tagging this to dev.
Comment #11
jurriaanroelofs commentedthe module still needs this patch.. +1
Comment #13
jurriaanroelofs commented_