Opened 9 years ago
#13058 new enhancement
Links that contain fom values don't work
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Component: | TracFormsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description
I would like to generate a link that consists of a given text plus the value of a field.
My background: There are automate test cases in Jenkins, and a release ticket in trac eith several checkboxes for things to be done durin a release. One pont is to run the tests and to reference to the number of the test run in jenkins. Then I would like to generate a link that leads directly to the test result.
This is the relevant part in trac:
{{{
#!TracForm
#! subcontext integration
[tf.input:itstnum 'num' 4] [https://my.jenkins.net/job/my-tests/[tf.value:itstnum] Test Results]
}}}
If I enter e.g. number 74, it should generate a link:
<a href="https://my.jenkins.net/job/my-tests/74"><span class="icon"></span>Test Results</a>
But it generates:
<a class="ext-link" href="https://dev0004.int.swisssign.net/jenkins/job/websites.wt/[tf.value:itstnum"><span class="icon"></span>https://dev0004.int.swisssign.net/jenkins/job/websites.wt/</a>
I also tried to use the simpler form https://my.jenkins.net/job/my-tests/[tf.value:itstnum] without the additional square-braces, but it does not work either.
Request:
- Is there a another way to get what I want?
- If not, could you improve the parsing?


