Closed Bug 374981 Opened 18 years ago Closed 18 years ago

Custom field single select options not available in config.cgi rdf

Categories

(Bugzilla :: Bug Import/Export & Moving, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.0

People

(Reporter: rob.elves, Assigned: LpSolit)

Details

Attachments

(2 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) Build Identifier: ALL Custom fields should have their respective single select options available in the config.cgi rdf output. Reproducible: Always Steps to Reproduce: 1.add custom single select field 2.add multiple field values 3.load config.cgi?ctype=rdf and see that options are not available in output Expected Results: Much like <bz:status> in current rdf output, custom field options should represented along the lines of: <bz:mycustomfield> <Seq> <li>Option1</li> <li>Option2</li> </Seq> </bz:mycustomfield>
Without this information the config is invalid.
Yeah, I would consider this a bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 3.0
Great to see this on for 3.0, thanks guys.
fyi, I just added bug#378681 which has another request for data missing from config and show_bug output.
I use the same filters and syntax as the other fields in the templates.
Assignee: import-export → LpSolit
Status: NEW → ASSIGNED
Attachment #283764 - Flags: review?(mkanat)
Comment on attachment 283764 [details] [diff] [review] patch for tip, v1 Unfortunately, IE dies on extra commas in JS. You'll have to use a join() instead. The RDF part looks fine.
Attachment #283764 - Flags: review?(mkanat) → review-
Comment on attachment 283764 [details] [diff] [review] patch for tip, v1 LpSolit pointed out that all of our other fields have a trailing comma, and nobody complains. Probably nobody uses the JS format. :-)
Attachment #283764 - Flags: review- → review+
In 3.0.x, multi-select fields do not exist.
Attachment #283765 - Flags: review?(mkanat)
Attachment #283765 - Flags: review?(mkanat) → review+
Flags: approval3.0+
Flags: approval+
Version: unspecified → 3.0
tip: Checking in config.cgi; /cvsroot/mozilla/webtools/bugzilla/config.cgi,v <-- config.cgi new revision: 1.25; previous revision: 1.24 done Checking in template/en/default/config.js.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/config.js.tmpl,v <-- config.js.tmpl new revision: 1.10; previous revision: 1.9 done Checking in template/en/default/config.rdf.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/config.rdf.tmpl,v <-- config.rdf.tmpl new revision: 1.10; previous revision: 1.9 done 3.0.2: Checking in config.cgi; /cvsroot/mozilla/webtools/bugzilla/config.cgi,v <-- config.cgi new revision: 1.24.2.1; previous revision: 1.24 done Checking in template/en/default/config.js.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/config.js.tmpl,v <-- config.js.tmpl new revision: 1.7.2.1; previous revision: 1.7 done Checking in template/en/default/config.rdf.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/config.rdf.tmpl,v <-- config.rdf.tmpl new revision: 1.7.2.1; previous revision: 1.7 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Great to see this resolved!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: