Project

General

Profile

Actions

Defect #16568

open

Referensing commits to issues across all projects

Added by Pavel Potcheptsov over 10 years ago. Updated over 10 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

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

It works when referencing issue is in parent project for repository's project:

It doesn't work when referencing issue isn't in parent project for repository's project:

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

Files

rm_refer1.png (68 KB) rm_refer1.png Pavel Potcheptsov, 2014-04-08 15:53
rm_refer2.png (39.9 KB) rm_refer2.png Pavel Potcheptsov, 2014-04-08 15:53
rm_refer3.png (86.9 KB) rm_refer3.png Pavel Potcheptsov, 2014-04-08 15:53
rm_refer4.png (30.9 KB) rm_refer4.png Pavel Potcheptsov, 2014-04-08 15:53
rm_refer5.png (132 KB) rm_refer5.png Pavel Potcheptsov, 2014-04-08 15:53
rm_refer6.png (8.72 KB) rm_refer6.png Pavel Potcheptsov, 2014-05-14 13:04
Actions #1

Updated by Toshi MARUYAMA over 10 years ago

  • Status changed from New to Needs feedback

It seems user does not have "View changesets" permission.

Actions #2

Updated by Pavel Potcheptsov over 10 years ago

Hello, I believe all our users have this permission:

Work:

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

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

Doesn't work:

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..

Actions #3

Updated by Toshi MARUYAMA over 10 years ago

Actions #4

Updated by Pavel Potcheptsov over 10 years ago

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 has relation with issue_controller starting from line 76.

Actions

Also available in: Atom PDF