Closed Bug 845249 Opened 12 years ago Closed 12 years ago

issue with legal values for custom field in reports page

Categories

(Bugzilla :: Bugzilla-General, defect)

4.0.2
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: chmourya, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130201065344 Steps to reproduce: I have created a custom field 'xyz' (drop down) from the administration page. And, added couple of field values. added the code for it in reports page. [% INCLUDE "search/field.html.tmpl" field => bug_fields.cf_xyz accesskey =>"cdd" value => default.xyz %] Actual results: I was not able to see the field values in reports page under "Detailed Bug Information". I had created more custom fields and their values are being shown. I went and printed the legal value in search/field.html.tmpl, except for the custom field 'xyz' rest of the field values are getting printed (including other custom fields that i have created) for the 'xyz', nothing is printed. is there any issue with legal values ?
Here is the comparision of the xyz and abc (working) custom fields. mysql> select * from cf_xyz; +----+-------+---------+----------+---------------------+ | id | value | sortkey | isactive | visibility_value_id | +----+-------+---------+----------+---------------------+ | 1 | --- | 5 | 1 | NULL | | 2 | Yes | 0 | 1 | NULL | | 3 | No | 2 | 1 | NULL | +----+-------+---------+----------+---------------------+ 3 rows in set (0.00 sec) mysql> select * from cf_abc; +----+-------+---------+----------+---------------------+ | id | value | sortkey | isactive | visibility_value_id | +----+-------+---------+----------+---------------------+ | 1 | --- | 0 | 1 | NULL | | 2 | No | 0 | 1 | NULL | | 3 | Yes | 100 | 1 | NULL | +----+-------+---------+----------+---------------------+ 3 rows in set (0.00 sec)
This code is not enough to display a custom field. query.cgi must pass legal values itself. This is a customization and so a support question. See http://www.bugzilla.org/support for help.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.