This is coupled with #2414461: File validation settings are not used when editing/replacing a file. The overall problem is described in that issue.

The problem is how media browser element renders the 'Browse' link (to add files initially) and 'Edit' link. Due to this inconsistency, the field instance options are not carried forward when editing a file as described in #2414461: File validation settings are not used when editing/replacing a file. It is necessary to implement this fix in both places.

CommentFileSizeAuthor
#2 file_validation-2562483-2.patch1000 byteshussainweb

Comments

hussainweb created an issue. See original summary.

hussainweb’s picture

Status: Active » Needs review
StatusFileSize
new1000 bytes

Uploading the patch required for media module. I will upload the other patch for file_entity in #2414461: File validation settings are not used when editing/replacing a file.

hussainweb’s picture

james.bcn’s picture

This is an issue for me. When will this patch be applied?

joseph.olstad’s picture

So james.bcn, you're using this patch and the related file_entity patch correct?
what version of php are you using?
what version of media and file_entity?

Status: Needs review » Needs work

The last submitted patch, 2: file_validation-2562483-2.patch, failed testing. View results