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)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: rob.elves, Assigned: LpSolit)
Details
Attachments
(2 files)
2.30 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
2.21 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
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>
Reporter | ||
Comment 1•18 years ago
|
||
Without this information the config is invalid.
Comment 2•18 years ago
|
||
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
Comment 3•18 years ago
|
||
Great to see this on for 3.0, thanks guys.
Reporter | ||
Comment 4•18 years ago
|
||
fyi, I just added bug#378681 which has another request for data missing from config and show_bug output.
![]() |
Assignee | |
Comment 5•18 years ago
|
||
I use the same filters and syntax as the other fields in the templates.
Comment 6•18 years ago
|
||
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 7•18 years ago
|
||
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+
![]() |
Assignee | |
Comment 8•18 years ago
|
||
In 3.0.x, multi-select fields do not exist.
Attachment #283765 -
Flags: review?(mkanat)
Updated•18 years ago
|
Attachment #283765 -
Flags: review?(mkanat) → review+
![]() |
Assignee | |
Updated•18 years ago
|
Flags: approval3.0+
Flags: approval+
Version: unspecified → 3.0
![]() |
Assignee | |
Comment 9•18 years ago
|
||
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
Comment 10•18 years ago
|
||
Great to see this resolved!
You need to log in
before you can comment on or make changes to this bug.
Description
•