Opened 15 years ago
Closed 12 years ago
#7764 closed defect (fixed)
Using non tcf_ field as the parent of chained fields
| Reported by: | Owned by: | Richard Liao | |
|---|---|---|---|
| Priority: | normal | Component: | TracTicketChainedFieldsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description
Hi, Thanks for the great job! It would be cool if there was a possibility to have standard fields (for example component) as the top-level field. This woudl help me implement a great functionality for my projects: subcomponents :)
Thanks ie. By the way it works for me on trac 0.12
Attachments (1)
Change History (9)
comment:1 Changed 15 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:2 Changed 15 years ago by
| Resolution: | duplicate |
|---|---|
| Status: | closed → reopened |
THe following configuration doesn't work:
{
"component": {
"Network": {
"tcf_subcomp": {
"OpenVPN": {},
"Trac": {},
"Mercurial": {}
}
},
"Google Apps": {
"tcf_subcomp": {
"": {}
}
},
"Soft infra": {
"tcf_subcomp": {
"ModelSim": {}
}
}
}
}
Here "component" is the trac's component list which I prealably configured.
comment:3 Changed 15 years ago by
This is working for me except I have a bug where the correct values are not being selected as it's only the input type which is searched for.
comment:5 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
comment:6 Changed 15 years ago by
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
| Type: | enhancement → defect |
In my case is shows two "component" fields!! cf. the attached file (http://trac-hacks.org/attachment/ticket/7764/screenshot.png)
trac.ini:
[tcf] chained_fields = component, tcf_subcomp [ticket-custom] tcf_subcomp = text tcf_subcomp.format = plain tcf_subcomp.label = Sub-Component tcf_subcomp.order = 0
Chained fields (admin pannel) content:
{
"component": {
"Network": {
"tcf_subcomp": {
"OpenVPN": {},
"Trac": {},
"Mercurial": {},
"Firewall":{},
"MySQL":{},
"Joomla":{},
"Security":{}
}
},
"Google Apps": {
"tcf_subcomp": {
"Authentication": {}
}
},
"Soft infra": {
"tcf_subcomp": {
"ModelSim": {}
}
}
}
}
comment:7 Changed 15 years ago by
My environment has no such phenomenon.
[9928] did not touch code for newticket path, so I guess it is caused by something else.
Could you test it with previous version? Or try clear cache and refresh?
comment:8 Changed 12 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
Closing since there has been no response to the feedback request in comment:7.



This feature have been implemented in #6684.