Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2130 closed defect (invalid)

Cannot use paranthesis in expression when using the ListTagged macro

Reported by: michael@… Owned by: athomas
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 7 years ago by athomas

  • Resolution set to invalid
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain athomas.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.