Modify

Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#8597 closed defect (fixed)

Incorrect URL return when voting for ticket

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.

Attachments (2)

vote_test_url.jpeg (42.6 KB) - added by URL of trac 14 years ago.
vote_test_err.jpeg (22.6 KB) - added by slevin@… 14 years ago.
URL after receiving the error notificaion

Download all attachments as: .zip

Change History (11)

Changed 14 years ago by URL of trac

Attachment: vote_test_url.jpeg added

Changed 14 years ago by slevin@…

Attachment: vote_test_err.jpeg added

URL after receiving the error notificaion

comment:1 Changed 13 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 13 years ago by Ryan J Ollos

Description: modified (diff)

comment:4 Changed 13 years ago by Ryan J Ollos

Similar issue to what I just dealt with in #7399 for the MenusPlugin. It will be fixed shortly.

comment:5 Changed 13 years ago by Ryan J Ollos

Status: newassigned

comment:6 Changed 13 years ago by Ryan J Ollos

Similar to #8628.

comment:7 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)

I was having trouble reproducing in the development environment, but the last changeset should hopefully fix any possible issues.

If you are able to test and report back, I'd appreciate it. Please include the revision of the plugin you were running before the upgrade as well.

comment:7 Changed 12 years ago by Ryan J Ollos

(In [11793]) Refs #8597: Redirect to URL accounts for path to Trac environment.

comment:8 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

comment:9 Changed 12 years ago by Ryan J Ollos

#7597 is a duplicate.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.