プロジェクト

全般

プロフィール

Vote #75136

未完了

Referensing commits to issues across all projects

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

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

0%

予定工数:
category_id:
3
version_id:
0
issue_org_id:
16568
author_id:
49110
assigned_to_id:
0
comments:
4
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
70
ステータス-->[Needs feedback]

説明

I have situation when referencing works in one case and doesn't work in other.
Settings:
!rm_refer1.png!

It works when referencing issue is in parent project for repository's project: !rm_refer4.png!
!rm_refer5.png!

It doesn't work when referencing issue isn't in parent project for repository's project:
!rm_refer2.png!
!rm_refer3.png!

I execute this manually after commit:

# cd /var/www/rm2.4.0/ && ruby ./script/rails runner "Repository.fetch_changesets" -e production
Environment:
  Redmine version                2.4.0.stable.12309
  Ruby version                   1.9.3-p327 (2012-11-10) [i686-linux]
  Rails version                  3.2.15
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.8
  Git                            1.7.1
  Filesystem                     
Redmine plugins:
  multi_time_tracker             0.1.1
  projects_table                 0.0.4
  redmine_better_gantt_chart     0.9.0
  redmine_drafts                 0.2.0
  redmine_equipment_status_viewer 1.0.1
  redmine_fields_permissions     1.0.0
  redmine_hide_estimated_hours   1.0.5
  redmine_lightbox               0.0.1
  redmine_monitoring_controlling 0.1.1
  redmine_plugin_views_revisions 0.0.1
  redmine_timesheet_plugin       0.7.0
  redmine_xls_export             0.2.1.t4

journals

It seems user does not have "View changesets" permission.
--------------------------------------------------------------------------------
Hello, I believe all our users have this permission:
!rm_refer6.png!

Work:
<pre>
project(repository) --> sub-project(issue)

project(issue) --> sub-project(repository)
</pre>

Doesn't work:
<pre>
project(repository)
project(issue)

project(repository)
project --> sub-project(issue)

project(issue)
project --> sub-project(repository)

project
|------> sub-project1(repository)
|------> sub-project2(issue)

and a lot of variants here..
</pre>
--------------------------------------------------------------------------------
I think some of your plugins cause probrem in following lines.
* source:tags/2.5.1/app/controllers/issues_controller.rb#L115
* source:tags/2.5.1/app/models/changeset.rb#L50
--------------------------------------------------------------------------------
> I think some of your plugins cause probrem in following lines.
What should I search in source code of my plugins?
How to locate which one cause this problem?

I've found that "xls_export_plugin":https://github.com/two-pack/redmine_xls_export/blob/features/app/controllers/xls_export_controller.rb has relation with issue_controller starting from line 76.

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

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

いいね!0
いいね!0