https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-11-06T18:40:46ZRedmineRedmine - Defect #2122: URL in send_reminders email for 'View all issues' is incorrect.https://www.redmine.org/issues/2122?journal_id=54122008-11-06T18:40:46ZRobert Chady
<ul></ul><p>Related to this issue, I also found that emails generated from SVN commits also has the incorrect URL, namely it is missing the sub-directory in the URL: /issues/show/### instead of /redmine/issues/show/###.</p>
<p>On a hunch I tried to update the 'host' setting in settings to include the /redmine so url_for() will build the correct URl. Unfortunately, this results in normal email notices of activity going out with /redmine/redmine/issues/show/### in the URL.</p>
<p>So, why are URLs getting built one way for SVN commits and send_reminders, but another way for normal activity emails?</p> Redmine - Defect #2122: URL in send_reminders email for 'View all issues' is incorrect.https://www.redmine.org/issues/2122?journal_id=54272008-11-07T15:39:13ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Category</strong> set to <i>Email notifications</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Target version</strong> set to <i>0.8</i></li><li><strong>Affected version (unused)</strong> set to <i>0.7.3</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li><li><strong>Affected version</strong> set to <i>0.7.3</i></li></ul><p>This should be fixed in <a class="changeset" title="Host setting should contain the path prefix (Redmine base URL) to properly generate links in emai..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1989">r1989</a>. Add /redmine to your host setting, it should no longer be added twice to the url when sending emails from the web app.</p>
<p>Feedback is welcome.</p> Redmine - Defect #2122: URL in send_reminders email for 'View all issues' is incorrect.https://www.redmine.org/issues/2122?journal_id=54342008-11-08T01:02:07ZEric Davis
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>7</i></li><li><strong>Resolution</strong> deleted (<del><i>Fixed</i></del>)</li></ul><p><a class="changeset" title="Host setting should contain the path prefix (Redmine base URL) to properly generate links in emai..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1989">r1989</a> caused a test failure because <code>:skip_relative_url_root</code> is added to the url, "https://mydomain.foo/issues/show/1?skip_relative_url_root=true". Is the <code>:skip_relative_url_root</code> option available in mailer views?</p> Redmine - Defect #2122: URL in send_reminders email for 'View all issues' is incorrect.https://www.redmine.org/issues/2122?journal_id=54402008-11-08T13:26:21ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>7</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Indeed. UrlRewriter#url_for doesn't work as I expected.<br /><a class="changeset" title="Do not use @:skip_relative_url_root@ to generate urls in Mailer (#2122)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1992">r1992</a> should fix it.</p>