I found that the field "Allowed file extensions for uploaded files" do not allow more than 128 chars.
This is a problem because the file extensions list in my case is longer than 128 chars.
I found that the field "Allowed file extensions for uploaded files" do not allow more than 128 chars.
This is a problem because the file extensions list in my case is longer than 128 chars.
Comments
Comment #1
miax commentedTo solve this I updates this field to allow #maxlength => '255' .
patch file attached.
Comment #2
dave reidThanks, committed this change in addition to increasing this length for file fields to both 7.x-2.x and 7.x-1.x.
http://drupalcode.org/project/media.git/commit/28fe03d
http://drupalcode.org/project/media.git/commit/db16ff7
Comment #3
dave reidAnd this was really a feature request. :)
Comment #5
alexjarvis commentedNeed to increase the maxlength on the admin form as well.
Comment #7
alexjarvis commented#5: update_allowed_maxlength_for_field_instance_settings_form-1415466-5-2x.patch queued for re-testing.
Comment #9
alexjarvis commentedTestbot having problems...
Comment #10
alexjarvis commented#5: update_allowed_maxlength_for_field_instance_settings_form-1415466-5-2x.patch queued for re-testing.
Comment #11
alexjarvis commented#5: update_allowed_maxlength_for_field_instance_settings_form-1415466-5-1x.patch queued for re-testing.
Comment #12
dave reidThanks, committed #5 to both branches.
http://drupalcode.org/project/media.git/commit/3fcd467 (7.x-2.x)
http://drupalcode.org/project/media.git/commit/52200f2 (7.x-1.x)