Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291379

Image field file extension validation doesn't work for the field after second.

$
0
0

Image field file extension validation doesn't work when the Number of values is set to more than one.
the file extension validation work on the first row, but after second row it doesn't return any warning message when I upload mp3 file or text file or etc.

event though it doesn't upload any files that are not allowed file type, this could be problematic when this field is working with field collection module.

I set image with caption field collection field that contain image field and text field.
and set the number of value as unlimited.

the first row was successfully validated when I try to upload mp3 file instead of image file, but when I added the second row and I tried upload mp3 file, it didn't return any error message and I was able to save the node with empty image field even though it was required field. (see the attached images)

AttachmentSizeStatusTest resultOperations
Capture2.JPG40.05 KBIgnored: Check issue status.NoneNone
Capture.JPG48.52 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 291379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>