#5542 - main_contact_catalogues and main_catalogues_form: Upload fields not POSTing
| Identifier | #5542 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | main_contact_catalogues and main_catalogues_form: Upload fields not POSTing |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 beta6 |
| Addon | catalogues |
| Description | When using an upload field in a catalogue and generating it through a block (main_contact_catalogues and main_catalogues_form), the uploaded files do not POST when submitting the form.
Additionally, I cannot generate a stack trace; fatalistic just turns the error into a critical one with no trace. |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
The issue here was we were passing "null" to the field hooks for upload directory. This would cause pictures / uploads to not get saved. It wasn't that they weren't getting POSTed but they were not getting saved to the uploads folder.