Posted by quicksketch on January 6, 2010 at 4:01am
4 followers
Jump to:
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | file.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | quicksketch |
| Status: | closed (fixed) |
Issue Summary
This is an extension of #370537: Allow suppress of form errors (hack to make "more" buttons work properly), which simply adds support for File module's manage_file FAPI element.
To reproduce:
- Install Drupal 7
- Create a new article node.
- Do not enter a title.
- Upload a file.
- After the file uploads, the user gets the error "The Title field is required.", which is confusing since there's no reason why a file shouldn't be uploaded before a title is entered.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| file_validation_fix.patch | 835 bytes | Idle | Passed on all environments. | View details |
Comments
#1
I tested that the error is not shown anymore. And I agree that it is very confusing that title is required to upload an image.
#2
Committed to HEAD! Thanks!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.