Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The extension field is too short: maxlength="64"
I think it should be longer, for example:
txt doc odt xls jpg gif tif pdf png ods rtf mp3 ogg wma zip rar
eats all the space.
Comment | File | Size | Author |
---|---|---|---|
#7 | 149789.patch | 272 bytes | Owen Barton |
#6 | 149789.patch | 854 bytes | Owen Barton |
Comments
Comment #1
jjk005 CreditAttribution: jjk005 commentedThe question becomes, is it safe to change that number in the form? Or is there something that would make such an edit problematic? I too need this field to be longer.
Comment #2
jpetso CreditAttribution: jpetso commentedI looked this up, and it goes this way:
Comment #3
jpetso CreditAttribution: jpetso commentedThe table is {node_field_instance}, and I decided that it's trivial enough to not having to ask dopry for this. Committed and FIXED. Rejoice.
Comment #4
jpetso CreditAttribution: jpetso commentedAnd when I say FIXED, I certainly want to set the status accordingly. Ungh.
Comment #5
(not verified) CreditAttribution: commentedComment #6
Owen Barton CreditAttribution: Owen Barton commentedIt looks like this regressed at some point - check around line 25 of:
http://drupalcode.org/viewvc/drupal/contributions/modules/filefield/file...
http://drupalcode.org/viewvc/drupal/contributions/modules/filefield/file...
Attached is a simple patch that fixes this.
Comment #7
Owen Barton CreditAttribution: Owen Barton commentedActually, that was the wrong fapi parameter - this one is correct...
Comment #8
quicksketchThanks, looks good to me.
Comment #9
quicksketchCommitted to CVS. It'll be in 3.6.
Comment #10
Owen Barton CreditAttribution: Owen Barton commentedThanks!