Project

General

Profile

Actions

Defect #12420

closed

URLs in notification emails do not include the sub-URI

Added by Drew Keller about 12 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I have Redmine working as configured in #11881, #12102, etc. Everything seems to be working except that issue URLs in the notification emails generated by Redmine do not include the sub-URI. For example... http://my.domain.com/issues/713 instead of http://my.domain.com/redmine/issues/713

Someone pointed this out to me recently (they got 404 error) so I went back in my email history and this problem started when I upgraded from Redmine 1.2.1 to 2.0.2. I don't know if other people with sub-URIs are having the same issue and don't know about it, or if this is actually working for them.

The call in the mailer is
@issue_url = url_for(:controller => 'issues', :action => 'show',...
In my limited Ruby knowledge, I'm not sure how the result of this might be different from the urls generated for issues elsewhere in Redmine that seem to be working.

Environment:
Redmine version 2.1.2.stable
Ruby version 1.9.2 (i386-mingw32)
Rails version 3.2.8
Database adapter Mysql2


Related issues

Related to Redmine - Defect #11881: FCGI mode does not support sub-URIClosed

Actions
Related to Redmine - Defect #12102: Installed Redmine in a sub-URI: Links are generated not correctlyNew

Actions
Actions

Also available in: Atom PDF