プロジェクト

全般

プロフィール

Vote #73786

未完了

Unable to change user role (due to sub-URI ?)

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

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

0%

予定工数:
category_id:
17
version_id:
0
issue_org_id:
13793
author_id:
76687
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
60
ステータス-->[New]

説明

Changing user role inside a project doesn't work.
All other parts seems to work, only this button (POST action) failed (nothing happen).

I guess that the problem is around sub-URI.

+Installation+

Environment:
  Redmine version                          2.3.0.stable.11691
  Ruby version                             1.9.3 (x86_64-linux)
  Rails version                            3.2.13
  Environment                              production
  Database adapter                         Mysql2
Redmine plugins:
  no plugin installed
I use Apache and Apache passenger module with some special configuration to deal with sub-URI (@www.myserver.fr/redmine@). Based on http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI and http://www.redmine.org/issues/11881 In @config/environment.rb@:
[...]
# SUB-URI
# http://www.redmine.org/issues/11881
RedmineApp::Application.routes.default_scope = '/redmine/'

# Initialize the rails application
RedmineApp::Application.initialize!

# Prendre en compte le SUB-URI
Redmine::Utils::relative_url_root = "/redmine/" 

+Request that failed when i press button "change" (tab "Members" inside a project)+
The "Request URL" is false. Should be something like "http://www.myserver.fr/redmine/memberships/1238", no ?

Request URL:       http://www.myserver.fr/memberships/1238
Request Method:    POST
Status Code:       HTTP/1.1 404 Not Found

Request Headers
X-Requested-With:XMLHttpRequest
X-CSRF-Token:ZeR7gqPo/fXMhPJa0IOIJFdWN335/VthcLUwAPaAvDw=
User-Agent:Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 Iceweasel/20.0
Referer:http://www.myserver.fr/redmine/projects/meta-archeo/settings
Pragma:no-cache
Host:www.myserver.fr
DNT:1
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Content-Length:176
Connection:keep-alive
Cache-Control:no-cache
Accept-Language:fr-fr,fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding:gzip, deflate
Accept:*/*;q=0.5, text/javascript, application/javascript, application/ecmascript, application/x-ecmascript

journals

Same problem inside a project "Configuration" tab --> "Repository" tab : unable to modify.
Link to "modify" = "http://www.myserver.fr/repositories/21/edit" instead of "http://www.myserver.fr/redmine/repositories/21/edit" ?

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ4年前に更新

  • カテゴリPermissions and roles_17 にセット

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

いいね!0
いいね!0