Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2130 closed defect (invalid)

Cannot use paranthesis in expression when using the ListTagged macro

Reported by: michael@… Owned by: Alec Thomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: michael@… Trac Release: 0.10

Description

I'm trying to use the following macro [[ListTagged(tagspace=ticket, expression=4.29+('ListingPage'))]]

and am getting the error

Error: Macro ListTagged(tagspace=ticket, expression=4.29+(ListingPage)) failed

  Invalid arguments 'tagspace=ticket, expression=4.29+(ListingPage)' (UnexpectedToken ()

however, when using tagged:4.29+(ListingPage), that works fine.

Attachments (0)

Change History (1)

comment:1 Changed 17 years ago by Alec Thomas

Resolution: invalid
Status: newclosed

This is a "bug" in Trac. Macro arguments are terminated at the first ).

You can work around this with by using the {{{ ... }}} multi-line syntax.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.