View Issue Details

IDProjectCategoryView StatusLast Update
0010154mantisbtcustom fieldspublic2009-04-20 09:49
Reporterbrianstv Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Fixed in Version1.1.7 
Summary0010154: Custom field enum values are getting the first and last characters truncated when displayed.
Description

The custom field values for type 'enum' are getting the first and last characters truncated.
Enum values defined like 'Defect|PCR|Other|Sustaining' are being displayed like 'efec', 'C', 'the', 'ustainin' in the bug_view_page.php.

This seems to have started after the fix for 0009606 was done.

Additional Information

When the enum values are displayed in drop-down lists, they display correctly.

TagsNo tags attached.

Activities

jreese

jreese

2009-02-23 20:50

reporter   ~0020926

I can confirm this on my local testing installations. Assigning to Glenn.

thraxisp

thraxisp

2009-02-23 22:33

reporter   ~0020927

fixed in 1.1.7 and 1.2.x

I can see two types of CF list entries in my test databases. Some have leading/trailing separators and some don't. I expect that this is a latent error from an old release. The fix handles both types.

Related Changesets

MantisBT: master-1.1.x f461da74

2009-02-23 22:21

thraxisp


Details Diff
fixed bug 0010154: Custom field enum values are
getting the first and last characters truncated
when displayed.
- note that leading and trailing bars may be present
in the database for some entries
Affected Issues
0010154
mod - core/custom_field_api.php Diff File

MantisBT: master d43e5de2

2009-02-23 22:28

thraxisp


Details Diff
fixed bug 0010154: Custom field enum values are
getting the first and last characters truncated
when displayed.
- note that leading and trailing bars may be present
in the database for some entries
Affected Issues
0010154
mod - core/cfdefs/cfdef_standard.php Diff File