Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#7416 closed defect (fixed)

URLs generated are wrong

Reported by: roger@… Owned by: Andrej Tokarčík
Priority: normal Component: ProgressMeterMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12


I use the ProgressMeter macro on a Trac 0.12 system to show the status of tickets in a milestone.

[[ProgressMeter(owner=$USER, milestone~=Wasabi)]]

The ticket counts and all are correct. However, the query URLs generated in the text displayed by the macro under the graphic are wrong:

This is the link that is generated for that part of the meter. In this case, I have logged in as me, so the user is 'roger'. The URL generated by the macro should have owner=roger. Not owner=milestone (the literal text 'milestone'). The "group=status" I am not sure about. The "status=testing" is correct.

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by Andrej Tokarčík

Resolution: fixed
Status: newclosed

(In [8562]) ProgressMeterMacro/0.12: Fixed #7416, everything oughtta be OK now. Good night to all of ya!

comment:2 Changed 8 years ago by anonymous

Resolution: fixed
Status: closedreopened

I just installed 8563, and I now get:

Error: Macro ProgressMeter(owner=$USER, milestone~=Wasabi) failed

Invalid input!

The problem seems to be when there is more than one parameter. This seems to work:


This worked before, except for the link problem. This is on a 0.12 release. I of course installed the 0.12 release version. I am running Python 2.5.

Roger Oberholtzer (roger@…)

comment:3 Changed 7 years ago by Andrej Tokarčík

Resolution: fixed
Status: reopenedclosed

The Invalid input! error message was probably caused by the bug described in #8763, not the multiple parameters supplied to the macro. Should be fixed now.

comment:4 Changed 7 years ago by anonymous

The update to the latest version did fix the problem for me. Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Andrej Tokarčík.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.