View Issue Details

IDProjectCategoryView StatusLast Update
0027983mantisbtdocumentationpublic2021-02-21 11:04
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytextReproducibilityN/A
Status resolvedResolutionfixed 
Target Version2.25.0Fixed in Version2.25.0 
Summary0027983: Improve Custom Fields documentation
Description

For tracking various improvements made to the Admin Guide while working on 0027950, 0027956

TagsNo tags attached.

Relationships

related to 0027950 resolveddregad Validate date custom fields default value format 
related to 0027956 resolveddregad Remove need to use {} for dynamic dates in custom fields default value 

Activities

Related Changesets

MantisBT: master 6fc8fe61

2021-01-31 08:09:27

dregad

Details Diff
Admin Guide: improve Custom Field types doc

Fixes 0027983, 0027956
Affected Issues
0027956, 0027983
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File

MantisBT: master 1eeed97f

2021-01-31 08:10:17

dregad

Details Diff
Fix broken link to PHP manual

Fixes 0027983
Affected Issues
0027983
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File

MantisBT: master 21893ff2

2021-01-31 08:18:49

dregad

Details Diff
Admin Guide: improve Dynamic enumerations doc

Fixes 0027983
Affected Issues
0027983
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File

MantisBT: master 8ab6ebaa

2021-01-31 08:20:45

dregad

Details Diff
Admin Guide: remove redundant documentation

Custom Fields definition info was largely duplicated beetween the
Manage Custom Fields page and the Customizing Custom Fields sections.

Removed unnecessary text, and add link from the former to the latter.

Fixes 0027983
Affected Issues
0027983
mod - docbook/Admin_Guide/en-US/Page_Descriptions.xml Diff File

MantisBT: master efd8d1fb

2021-01-31 09:00:39

dregad

Details Diff
Validate date custom fields default value format

Prior to saving the custom field's definition, we try to convert the
provided format to a date, and if that fails an error is thrown.

This also removes the need to enclose the format within curly brackets
(e.g. {tomorrow}); this is more user-friendly, and simplifies the code
as the given value can be passed on as-is to DateTime transformation.

Backwards-compatibility is maintained for now, but may be removed in a
future release.

Fixes 0027950, 0027956, 0027983
Affected Issues
0027950, 0027956, 0027983
mod - core/cfdefs/cfdef_standard.php Diff File
mod - core/custom_field_api.php Diff File
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File