Opened 8 years ago

Closed 8 years ago

#4012 closed defect (invalid)

Additional Query Parameters

Reported by: peter@… Owned by: hoessler
Priority: normal Component: EstimationToolsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


The docs for the wiki macros say that any parameters supported by the Trac query language should be entered as a comma-separated list. However, when I do this, it has no apparent effect. For example, the two strings below produce exactly the same chart:

WorkloadChart(milestone = My Milestone Name, width = 600, height = 200)

WorkloadChart(milestone = My Milestone Name, priority = blocker, width = 600, height = 200)

Is this a problem with my usage or with the plugin?

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by hoessler

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

The implementation of the trac query language doesn't remove trailing white spaces, so you need to remove the spaces between the equals sign and the value in your statement. So it look like: WorkloadChart(milestone =My Milestone Name, priority =blocker, ...)

comment:2 Changed 8 years ago by peter@…

  • Resolution invalid deleted
  • Status changed from closed to reopened

I just tried exactly the formatting you suggest, and the results are still identical. I then tried every combination of spaces I could think of, and nothing changes. (No spaces at all, spaces after commas, spaces before commas, spaces before and after commas, spaces after =, spaces before =, spaces before and after =...)

comment:3 Changed 8 years ago by hoessler

What version of the plugin are you using? Latest from trunk?

comment:4 Changed 8 years ago by peter@…

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

It was the latest from trunk as of 10/9/2008, claiming to be version 0.3.

I see now that this feature was added on 10/12/2008 -- hence my frustration. I apologize for bothering you with this.

Add Comment

Modify Ticket

as closed The owner will remain hoessler.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.