プロジェクト

全般

プロフィール

Vote #80073

未完了

relative_url_root does not correctly set the menu_items href

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Administration_8
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
8
version_id:
0
issue_org_id:
31407
author_id:
400957
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
148
ステータス-->[New]

説明

If I set the relative_url_root in config/environment.rb using
Redmine::Utils::relative_url_root = "/redmine"
or
ActionController::Base.relative_url_root = "/redmine"
or with an ENV of RAILS_RELATIVE_URL_ROOT=/redmine

the script and link elements correct have the /redmine/.... in the
src and href fields but the href in the anchor (a) elements like
for menus (the only ones I have looks at yet) do not have the
leading '/redmine'

I am running a brand new install of redmine on fedora 29 with
postgersql 10.7
and a info page of
Information

Redmine 4.0.3.stable
Default administrator account changed (checked)
Attachments directory writable (checked)
Plugin assets directory writable (./public/plugin_assets) (checked)
RMagick available (optional) (checked)
ImageMagick convert available (optional) (checked)

Environment:
Redmine version 4.0.3.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux]
Rails version 5.2.2.1
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery sendmail
SCM:
Subversion 1.11.1
Mercurial 4.5.3
Bazaar 2.7.0
Git 2.20.1
Filesystem
Redmine plugins:
no plugin installed

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0