Active
Project:
Extended File Field
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2013 at 09:53 UTC
Updated:
26 Mar 2014 at 08:26 UTC
Jump to comment: Most recent
Comments
Comment #1
MilosL commentedComment #2
jthorson commentedThanks for the report.
To be honest, cardinality = 1 wasn't even considered during the development of this module ... so I'm not surprised that it's throwing notices.
For the moment, I've committed a quick cardinality check to the hook_widget_file_generic_form_alter() function, so that we no longer attempt to apply multi-field widget theming to single-value fields. This should at least get rid of the notices on the edit page.
I haven't done a closer look to see if all of the logic on the field_formatter side is okay with single-value fields, so going to leave this open for now ... it appears to be looking okay based on my test site, but I'd like to take a closer look once life settles down a bit.
For now, the latest -dev version should solve the php notice issues.
Comment #3
jthorson commented