Closed (fixed)
Project:
Timefield
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2012 at 15:40 UTC
Updated:
5 Jan 2013 at 20:20 UTC
When I create a timefield and set it to hidden in the default display, the settings don't get loaded, which means the value doesn't show in the edit form.
Notice: Undefined index: display_format in timefield_field_load() (line 813 of timefield/timefield.module).
Notice: Undefined index: display_format in timefield_field_widget_form() (line 714 of timefield/timefield.module).
Comments
Comment #1
mojzis commentedworkaround : select to use "USE CUSTOM DISPLAY SETTINGS" for the full content, hide it there and leave it on in the default.
Comment #2
matt.elkins commentedThanks for the workaround, @mojzis! I'll try and make a patch for this bug if I get a chance...
Comment #3
wesnick commentedThanks for the bug report. This is fixed in commit #8b80cec.
If display is hidden, then it will just use the default formatting settings to format it for input.
Comment #4
wesnick commented[deleted]