#5735 - Improper handling of missing field types

  • By
  • Added
  • 3 views
Identifier #5735
Issue type Minor issue (breaks specific functionality)
Title Improper handling of missing field types
Status Completed
Handling member PDStig
Version 11 alpha2
Addon core_fields
Description When 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.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-5735 (Improper handling of missing field types) (609fc9ae) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated