Trying to import files as any user other than UID 1 (that does have permission to import taxonomies) results in a validation error:
"The selected file taxonomy_artist_type.xml could not be uploaded. Only files with the following extensions are allowed: upload_file."
This is because the form sets file_validate_extensions as the validation function, but does not correctly pass in extensions that are actually valid.
Comments
Comment #1
capellicI am having this problem, too. Thanks for identifying that it would work with user1 --- I was able to complete my task.
Comment #2
dman commentedI found that also :-)
arguments to validate_upload sure did change at some time, probably D5-6
This is repaired in dev a little while ago. Until then, yeah, gotta be User1
http://drupal.org/cvs?commit=185386
Comment #3
dman commentedissue queue cleanup
there is still an issue with non-uid-1 users, but I don't know the fix. Error is gone however (?)
Comment #4
carinadigital commentedFor anyone monitoring this issue, I have the same problem in 1.3 and a possible patch. See #791378: improper use of file_validate_extensions on upload