Open
Bug 546324
Opened 16 years ago
Updated 2 years ago
bug/field.html.tmpl should be able to render most fields.
Categories
(Bugzilla :: Bugzilla-General, enhancement, P3)
Tracking
()
NEW
People
(Reporter: docwhat, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
If you look in Bugzilla/Field.pm, lots of the entries in DEFAULT_FIELDS lacks a 'type' value.
This is really annoying when using bug/field.html.tmpl in a template to render a specific field, since the type will be 0 (FIELD_TYPE_UNKNOWN) and bug/field.html.tmpl won't render the editable portion.
Ciao!
| Reporter | ||
Comment 1•16 years ago
|
||
Changing the subject, since it looks more complicated than just adding the field types for all the fields -- apparently, this changes the DB and the way queries work.
My real annoyance is that bug/field.html.tmpl doesn't work for things I think it should: keywords, short_desc, etc. Ideally, components would be added as well, but I realize that this requires more smarts than come easily to a template/webpage system.
My specific case, is I'm trying to make a minimal dynamic 'create bug' page, and having to have code to render every field is a pain. Only a few fields I care about are renderable via bug/field.html.tmpl.
Ciao!
Summary: Bugzilla/Field.pm's DEFAULT_FIELDS lacks 'type' for many fields. → bug/field.html.tmpl can't render most fields.
Updated•16 years ago
|
Blocks: bz-majorarch
Severity: normal → enhancement
Priority: -- → P3
Summary: bug/field.html.tmpl can't render most fields. → bug/field.html.tmpl should be able to render most fields.
Updated•2 years ago
|
Attachment #9387755 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•