View Issue Details

IDProjectCategoryView StatusLast Update
5735Composrcore_fieldspublic2024-04-27 23:24
ReporterMaster Rat Assigned ToPDStig  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Product Version11.alpha2 
Summary5735: Improper handling of missing field types
DescriptionWhen a requested field hook is missing, we should be defaulting to short_text.

Instead, we bailed out on error when trying to create an object factory on an object that does not exist (and also bailing on error trying to require the missing field hook file).

This fix applies a try/catch on the object factory test so errors are ignored and the software falls back to short_text as it should.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2024-04-25 18:16

administrator   ~8684

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

admin

2024-04-25 18:17

administrator   ~8685

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

PDStig

2024-04-27 23:24

administrator   ~8691

Assigned as reporter Master Rat as this error was made known to me via telemetry

Issue History

Date Modified Username Field Change
2024-04-27 23:23 PDStig Reporter user4172 => user4877
2024-04-27 23:23 PDStig Description Updated
2024-04-27 23:24 PDStig Note Added: 0008691