Closed
Bug 429847
Opened 18 years ago
Closed 18 years ago
config.cgi should include additional information about custom fields
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: Frank, Assigned: LpSolit)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
|
4.74 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; de-de) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.1 Safari/525.18
Build Identifier: Bugzilla 3.1.3
In Mylyn we want to support custom field support for creating new bugs.
But for this we need a way to get the value of field fielddefs.enter_bug and fielddefs.type.
Without these information it is not possible to do the implementation in Mylyn.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=226851
Reproducible: Always
| Reporter | ||
Comment 1•18 years ago
|
||
| Assignee | ||
Comment 2•18 years ago
|
||
$dbh->bz_get_field_defs() is now useless and can be replaced by Bugzilla::Field->match(), which returns all the required data (i.e. objects).
Assignee: webservice → LpSolit
Attachment #316611 -
Attachment is obsolete: true
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #316621 -
Flags: review?(mkanat)
Comment 3•18 years ago
|
||
Comment on attachment 316621 [details] [diff] [review]
patch, v1
I think for the types we should probably just use the numbers, since that text is localizable and this is supposed to be an interface used by programs.
Attachment #316621 -
Flags: review?(mkanat) → review-
Updated•18 years ago
|
OS: Mac OS X → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 3.2
| Assignee | ||
Comment 4•18 years ago
|
||
I thought about that, but I'm not sure an internal number is really helpful. We should still have a way to get a readable string. Maybe display both information as two separate attributes?
| Assignee | ||
Comment 5•18 years ago
|
||
Attachment #316621 -
Attachment is obsolete: true
Attachment #316627 -
Flags: review?(mkanat)
Comment 6•18 years ago
|
||
Comment on attachment 316627 [details] [diff] [review]
patch, v2
Ah, yeah, good idea. :-) I'm glad to have bz_get_field_defs gone, too. :-)
Attachment #316627 -
Flags: review?(mkanat) → review+
Updated•18 years ago
|
Flags: approval+
| Assignee | ||
Comment 7•18 years ago
|
||
Checking in config.cgi;
/cvsroot/mozilla/webtools/bugzilla/config.cgi,v <-- config.cgi
new revision: 1.29; previous revision: 1.28
done
Checking in Bugzilla/DB.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v <-- DB.pm
new revision: 1.112; previous revision: 1.111
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.11; previous revision: 1.10
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.12; previous revision: 1.11
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Component: WebService → Bugzilla-General
Resolution: --- → FIXED
Summary: /config.cgi?ctype=rdf did not include nedded customfield information → config.cgi should include additional information about custom fields
Version: unspecified → 3.1.3
Updated•18 years ago
|
Blocks: bz-clients
You need to log in
before you can comment on or make changes to this bug.
Description
•