View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5542 | Composr | catalogues | public | 2024-01-10 02:21 | 2025-01-01 21:21 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | normal | Severity | trivial | ||
Status | resolved | Resolution | fixed | ||
Product Version | 11.beta6 | ||||
Summary | 5542: main_contact_catalogues and main_catalogues_form: Upload fields not POSTing | ||||
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. | ||||
Tags | Roadmap: v11 | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Automated response: main_contact_catalogues and main_catalogues_form: Upload fields not POSTing 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. |
|
Fixed in Git commit 5b6b7c8b1d (https://gitlab.com/composr-foundation/composr/commit/5b6b7c8b1d - link will become active once code pushed to GitLab) |
|
A hotfix (a TAR of files to upload) has been uploaded to this issue. Only apply this hotfix if you absolutely need it and cannot wait until the next release of Composr (releases are more reliable and strictly tested). As of Composr version 11, the recommended way to apply a hotfix is by following the same steps as an upgrade (https://baseurl/upgrader.php, use the hotfix on the step “Transfer across new/updated files”). The upgrader will automatically skip files belonging to addons you do not have installed or that are newer on disk than in the hotfix. Otherwise, you can manually extract and replace these files (do not replace if your on-disk file is newer than the one in the hotfix). Always take backups of your site or at least files you are replacing before applying a hotfix. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |