Opened 9 years ago

Last modified 4 years ago

#4768 assigned defect

value usage in IncludeMacro

Reported by: tekknokrat Owned by: Ryan J Ollos
Priority: normal Component: IncludeMacro
Severity: normal Keywords: process values
Cc: Trac Release: 0.11


Is it possible to process values in Include Macro?

When I try with something like that:

[[Include([tf.value:service1_path], svn:mime-type)]]

Where service1_path is an value stored in editfield: /path/to/sourcefile

I get this message: Unsupported include source source:/path/to/sourcefile

I also tried with %service1_path% but this is not processed. How can I use that.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Steffen Hoffmann

Component: TracFormsPluginIncludeMacro
Keywords: process values added
Owner: changed from Rich Harkins to Noah Kantrowitz
Summary: value usage in Include Macrovalue usage in IncludeMacro

While TracFormsPlugin mentions and actively encourages usage with IncludeMacro for form templating and the issue might be due to context/environment variable usage of TracFormsPlugin, it can still only resolved from (within) IncludeMacro, not TracFormsPlugin.

comment:2 Changed 4 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Ryan J Ollos.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.