Project

General

Profile

Actions

Defect #6099

closed

Subtasks plugin with Debian redmine package 1.0.0-4

Added by Rayservers GmbH over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-08-10
Due date:
% Done:

100%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Unable to make the Subtasks plugin work.

I took several steps to overcome some problems:

1. In db/migrate/20090406213813_add_issues_parent_id_lft_and_rgt.rb
I had to comment out the following to get rake to run, as those fields seem to have been present -

  def self.up
#    add_column :issues, :parent_id, :integer, :default => nil
#    add_column :issues, :lft, :integer
#    add_column :issues, :rgt, :integer
  end

  def self.down
#    remove_column :issues, :parent_id
#    remove_column :issues, :lft
#    remove_column :issues, :rgt
  end
end

Then rake completed successfully.

Then issues would not display - which was fixed by the same fix as:
http://www.redmine.org/attachments/3784/fix-advanced-roadmap.patch

Then 403 errors on adding a new issue with the subtasks plugin

which was fixed by renaming the class from IssuesController to SubIssueController
per
http://www.redmine.org/boards/2/topics/6143#message-6219

Subtasks could not be added despite adding all permissions:

http://www.redmine.org/boards/2/topics/14943#message-14958
and added all permissions to no avail,

It looks like something along the lines of:
http://www.redmine.org/boards/3/topics/5506?page=2
might fix the authorize problem, and/or the URLs need to call the the SubIssueController class rather than the IssueController class, but at that point, I'd have to learn Ruby... not enough time, and the subject matter of our projects is calling.

Can someone take these hints and get this plugin working and update the git? Or at least post a note on the main plugins page that its broken with 1.0. Thanks.

Versions we used:

redmine-sqlite 1.0.0-4
apt-show-versions ruby
ruby/sid uptodate 4.5
ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [i486-linux]
apt-show-versions rails
rails/sid uptodate 2.3.5-1
rails -v
Rails 2.3.5
apt-show-versions sqlite
sqlite/sid uptodate 2.8.17-6
sqlite3 --version
3.7.0

Thanks for Redmine.

Actions

Also available in: Atom PDF