Mantis Bug Tracker
 

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011011mantisbtcustom fieldspublic2009-10-06 17:202010-07-12 17:54
Reporterwatergad 
Assigned Todhx 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionreopened 
PlatformOSOS Version
Product Version1.2.0rc1 
Target VersionFixed in Version 
Summary0011011: Can't add UTF8 custom fields to the Manage columns enumeration
DescriptionCan't add a custom field to the "View Issues Columns", "Print Issues Columns", etc, when the custom field has russian title.
The custom field is listed fine in the "All Available Columns" area but error happens when I'm trying to add this field to any enumeration (Field "print_issues" contains invalid field "...field name...")
TagsNo tags attached.
Attached Filesjpg file icon fields.jpg [^] (193,428 bytes) 2010-03-12 12:57

- Relationships
duplicate of 0010901resolveddhx We can't use & in custom field value and it's impossible search the first and last value from custom list 

-  Notes
User avatar (0024525)
ykrest (reporter)
2010-02-25 10:15

I have the same error.
User avatar (0024729)
watergad (reporter)
2010-03-12 12:56

Tried to apply patch from the related issue, still the same error.
Attaching screens.
User avatar (0025351)
watergad (reporter)
2010-04-29 13:30
edited on: 2010-04-29 13:58

Ok, I've resolved it while upgrading to 1.3dev...

columns_api.php

You're using "utf8_strtolower" to support UTF, and this is good (especially for our cyrillic installation (: ), but there are two calls of "array_map" with just 'strtolower'.

So you can replace
     array_map( 'strtolower'...
with
     array_map( 'utf8_strtolower'...
and this will do the trick.

These are lines 354 and 390 (in the 1.3dev from 28apr).


- Issue History
Date Modified Username Field Change
2009-10-06 17:20 watergad New Issue
2010-02-25 10:09 ykrest Issue Monitored: ykrest
2010-02-25 10:15 ykrest Note Added: 0024525
2010-03-12 08:34 dhx Relationship added duplicate of 0010901
2010-03-12 08:34 dhx Status new => resolved
2010-03-12 08:34 dhx Resolution open => duplicate
2010-03-12 08:34 dhx Assigned To => dhx
2010-03-12 12:56 watergad Note Added: 0024729
2010-03-12 12:56 watergad Status resolved => feedback
2010-03-12 12:56 watergad Resolution duplicate => reopened
2010-03-12 12:57 watergad File Added: fields.jpg
2010-04-29 13:30 watergad Note Added: 0025351
2010-04-29 13:30 watergad Status feedback => assigned
2010-04-29 13:58 watergad Note Edited: 0025351 View Revisions
2010-07-12 17:54 Sergiodf Issue Monitored: Sergiodf


MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.2400 seconds.
memory usage: 1,963 KB
Powered by Mantis Bugtracker