Modify

Opened 7 years ago

Closed 5 years ago

Last modified 5 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 7 years ago.
vote_test_err.jpeg (22.6 KB) - added by slevin@… 7 years ago.
URL after receiving the error notificaion

Download all attachments as: .zip

Change History (11)

Changed 7 years ago by URL of trac

Attachment: vote_test_url.jpeg added

Changed 7 years ago by slevin@…

Attachment: vote_test_err.jpeg added

URL after receiving the error notificaion

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

Description: modified (diff)

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

Status: newassigned

comment:6 Changed 6 years ago by Ryan J Ollos

Similar to #8628.

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

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

comment:8 Changed 5 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

comment:9 Changed 5 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.

Add Comment


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

 
Note: See TracTickets for help on using tickets.