Closed (duplicate)
Project:
Formatter Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2012 at 07:31 UTC
Updated:
18 Sep 2019 at 01:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
zroger commentedThis is an issue with addressfield accidentally implementing a hook. Moving to that issue queue.
Comment #2
helior commentedIt seems as though $items[$delta] in formatter_field_field_widget_form() references the *previously* selected "Field to be formatted", which I'm guessing is causing incorrect data getting passed into it, and thus PHP notices of missing array keys (often in the settings array). This can be tested with any field module that implements formatter settings.
Comment #3
helior commentedMoving issue back into Formatter Field.
Comment #4
zipymonkey commentedThanks for the feedback @helior. Here is a simple patch that grabs the default field formatter settings.
Comment #5
zipymonkey commentedThere is an issue with patch in #4 when creating new nodes. The patch found here seems to fix this: http://drupal.org/node/1762202#comment-6482248
There is a new patch that combines both.
Comment #5.0
zipymonkey commentedparticular in this module
Comment #6
vlad.dancerI've came from #1762202-2: Field value(s) reset when a field with unlimited values gets added a new value in the node edit form.. And it seems that http://drupal.org/node/1762202#comment-6482248 fixes bug. This patch doesn't allow save field settings for Default value setting, the setting alway still seted with default value, not with my.
There is one note for bug reproducing, in my case I had warnings only when creating bean, not on the edit form (also I have 7.x-1.0-beta3 version of the formatter_field).
Comment #7
chris matthews commentedClosing this issue as a duplicate of #1762202: Field value(s) reset when a field with unlimited values gets added a new value in the node edit form., which was a duplicate of #1394566: The formatter setting doesn't work on node save or on node edit when changing the image that is fixed.