Embedded Media Field is ignoring field settings and always acting as optional.

This is caused by the following line of code in emfield.module, line 376:
$field['required'] = FALSE;

So it's actually not a bug but it definitely causes a problem for those who want to have embed field required.
I would like to understand what was the reasoning behind adding this line? Could it be removed from code?

Comments

aaron’s picture

Assigned: Unassigned » aaron
Status: Active » Fixed

oh, whoops, thanks for catching that. was probably some debugging i was doing some time in the distant past that i forgot to revert...

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.