Opened 17 years ago
Closed 16 years ago
#7280 closed defect (fixed)
description_default not in trac.ini documentation
Reported by: | lfrancis | Owned by: | osimons |
---|---|---|---|
Priority: | normal | Milestone: | 0.11.1 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
description_default seems to work in the ticket section of the trac.ini, but it isn't documented on http://trac.edgewall.org/wiki/TracIni
Attachments (0)
Change History (5)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Component: | general → ticket system |
---|---|
Owner: | changed from | to
comment:3 by , 16 years ago
Milestone: | → 0.11.1 |
---|---|
Owner: | changed from | to
Interesting. Here are the working-but-undocumented fields from my testing: summary, description, keywords, cc, owner.
These are slightly obscure options that likely have been working for a long time, so I don't intend to add them with much fanfare:
-
trac/ticket/web_ui.py
80 80 default_severity = Option('ticket', 'default_severity', '', 81 81 """Default severity for newly created tickets.""") 82 82 83 default_summary = Option('ticket', 'default_summary', '', 84 """Default summary (title) for newly created tickets.""") 85 86 default_description = Option('ticket', 'default_description', '', 87 """Default description for newly created tickets.""") 88 89 default_keywords = Option('ticket', 'default_keywords', '', 90 """Default keywords for newly created tickets.""") 91 92 default_owner = Option('ticket', 'default_owner', '', 93 """Default owner for newly created tickets.""") 94 95 default_cc = Option('ticket', 'default_cc', '', 96 """Default cc: list for newly created tickets.""") 97 83 98 default_resolution = Option('ticket', 'default_resolution', 'fixed', 84 99 """Default resolution for resolving (closing) tickets 85 100 (''since 0.11'').""")
But, should we add them all? Any reason to keep a particular field as internal/undocumented/unsupported?
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I think in general default_anything will work for any field, but I agree this should be documented on the wiki page.