Dependency Graph

Dependency Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0036535mantisbtcode cleanuppublic2025-11-01 07:49
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Target Version2.27.2Fixed in Version2.27.2 
Summary0036535: Custom Field admin checks refactoring
Description

The way check_customfields_inc.php was implemented in 0027956 is not ideal. Adding new checks introduces code duplication and unnecessary complexity. This should be refactored.

TagsNo tags attached.

Relationships

related to 0027956 closeddregad Remove need to use {} for dynamic dates in custom fields default value 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-2.27 321edde1

2025-10-25 12:22

dregad


Details Diff
Refactor custom field admin checks

To avoid code duplication and simplify introduction of future new checks
define an abstract class that can be extended to implement specific
checks, and a controller class that will loop over the registered Custom
Field definitions.

Fixes 0036535
Affected Issues
0036535
mod - admin/check/check_customfields_inc.php Diff File