Download & Extend

Embedded Media Field always acting as optional even when marked as "required" under field settings

Project:Embedded Media Field
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:aaron
Status:closed (fixed)

Issue Summary

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

#1

Assigned to:Anonymous» 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...

#2

Status:fixed» closed (fixed)

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