Modify

Opened 7 years ago

Closed 6 years ago

Last modified 6 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

Description

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:

http://www.somewhere.com/trac/query?owner=milestone&group=status&status=testing

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 7 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 7 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:

[[ProgressMeter(owner=$USER)]]

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 6 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 6 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
Action
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.