Modify

Opened 5 years ago

Last modified 5 years ago

#6209 new defect

invalid urls

Reported by: paranoidi Owned by: dottedmag
Priority: normal Component: TracCiaPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I'm running TracCiaPlugin svn 0.11 with Trac 0.11.1. When new ticket is created the announced url is invalid. It seems to be missing the ticket number from the end.

Examples of these problems can be seen at http://cia.vc/stats/project/flexget

Also I have wiki_notifications set to False and it still announces every small edit ...

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by dottedmag

I'm giving up: some versions of Trac provide ticket URL with the number and don't need appending a number again, some provide just a generic '/ticket/'.

Please investigate this issue or add some hack to plugin. JFYI, plugin works fine with 0.11.5 and 0.11.3.

comment:2 Changed 5 years ago by paranoidi

oh well, I updated to 0.11.5 ..

comment:3 Changed 5 years ago by dottedmag

Does it work now? I'm really puzzled by such internal API changes in point versions. Will have to add some disgusting hack like

if not url.endswith(str(ticket_nr)):
    url += '/' + str(ticket_nr)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.