MantisBT: master-1.2.x b5abce1f

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2012-08-31 03:37 master-1.2.x 6e18aaa7
Affected Issues  0008002: Unable to report issue. Error "data too long" on custom field name
 0014650: Improve comments for check custom field length in custom_field_delete_all_values()
Changeset

Improve comments for custom field length check

Function custom_field_get_id_from_name() contains code to check for
truncated custom fields names. This dates back to when the history
table's field_name column was only 32 chars long, whereas the custom
field's size is 64.

Even though the history's field_name size has been increased to 64 since
1.1.0a4 (see issue 0008002), the check must be maintained to ensure
compatibility with upgraded legacy systems.

The fix ce3450aaabbd9d9feceb03d77d4358f195e7d966 implemented in master
branch cannot be applied here as it contains a schema update. Instead,
comments have been reworded and obsolete reference to old schema
removed.

Fixes 0014650

mod - core/custom_field_api.php Diff File
mod - core/history_api.php Diff File