Opened 12 years ago

Last modified 10 years ago

#8597 closed defect

Incorrect URL return when voting for ticket — at Version 3

Reported by: slevin@… Owned by: Ryan J Ollos
Priority: normal Component: VotePlugin
Severity: normal Keywords: path URL
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

We're have many different tracs for some departments, usually URLs of that tracs looks like: http://trac.x/Trac_Name/

With voting for wiki or for milestones allways is ok. But when I'm try to vote for ticket I receive the error message like that:

Not Found

The requested URL /ticket/3246 was not found on this server.

URL after receiving the error notificaion

Please make the patch if it possible.

Change History (4)

Changed 12 years ago by URL of trac

Attachment: vote_test_url.jpeg added

Changed 12 years ago by slevin@…

Attachment: vote_test_err.jpeg added

URL after receiving the error notificaion

comment:1 Changed 12 years ago by yannpaul@…

There is an error at the end of the process_request routine. Line 157 of __init__.py should be changed to

        req.redirect(self.env.abs_href()+'/'+resource)

At least this change has worked for me.

comment:3 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.