View Issue Details

IDProjectCategoryView StatusLast Update
5542Composrcataloguespublic2025-01-01 21:21
ReporterPDStig Assigned ToPDStig  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version11.beta6 
Summary5542: main_contact_catalogues and main_catalogues_form: Upload fields not POSTing
DescriptionWhen 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.
TagsRoadmap: v11
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2025-01-01 21:21

administrator   ~9745

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.

admin

2025-01-01 21:21

administrator   ~9746

Fixed in Git commit 5b6b7c8b1d (https://gitlab.com/composr-foundation/composr/commit/5b6b7c8b1d - link will become active once code pushed to GitLab)

admin

2025-01-01 21:21

administrator   ~9747

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/).

Issue History

Date Modified Username Field Change
2024-01-10 02:21 PDStig New Issue
2024-01-10 02:21 PDStig Status Not Assigned => Assigned
2024-01-10 02:21 PDStig Assigned To => user4172
2024-09-13 03:03 PDStig Tag Attached: Roadmap: v11