Ticket #8597 (closed defect: fixed)

Opened 2 years ago

Last modified 5 months ago

Incorrect URL return when voting for ticket

Reported by: slevin@adriver.ru Assigned to: rjollos
Priority: normal Component: VotePlugin
Severity: normal Keywords: path URL
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

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

vote_test_url.jpeg (42.6 kB) - added by URL of trac on 03/11/11 10:59:50.
vote_test_err.jpeg (22.6 kB) - added by slevin@adriver.ru on 03/11/11 11:01:25.
URL after receiving the error notificaion

Change History

03/11/11 10:59:50 changed by URL of trac

  • attachment vote_test_url.jpeg added.

03/11/11 11:01:25 changed by slevin@adriver.ru

  • attachment vote_test_err.jpeg added.

URL after receiving the error notificaion

05/25/11 16:57:20 changed by yannpaul@bu.edu

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.

05/27/11 11:39:25 changed by rjollos

  • description changed.

01/31/12 08:15:12 changed by rjollos

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

01/31/12 08:18:42 changed by rjollos

  • status changed from new to assigned.

02/14/12 00:43:26 changed by rjollos

Similar to #8628.

07/26/12 03:17:37 changed by rjollos

  • description changed.

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.

07/26/12 03:17:55 changed by rjollos

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

07/26/12 03:18:50 changed by rjollos

  • status changed from assigned to closed.
  • resolution set to fixed.

12/14/12 21:26:31 changed by rjollos

#7597 is a duplicate.


Add/Change #8597 (Incorrect URL return when voting for ticket)




Change Properties
Action