Subtasks plugin with Debian redmine package 1.0.0-4
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:
Then 403 errors on adding a new issue with the subtasks plugin
which was fixed by renaming the class from IssuesController to SubIssueController
Subtasks could not be added despite adding all permissions:
and added all permissions to no avail,
It looks like something along the lines of:
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:
ruby/sid uptodate 4.5
ruby 1.8.7 (2010-06-23 patchlevel 299) [i486-linux]
rails/sid uptodate 2.3.5-1
sqlite/sid uptodate 2.8.17-6
Thanks for Redmine.
#1 Updated by Felix Schäfer over 9 years ago
- Status changed from New to Closed
- Resolution set to Invalid
- The subtasks plugin has never been an official plugin,
- Redmine 1.0 supports subtasks OOTB, though the UI is somewhat improvement-worthy,
- The plugin added some columns that collide with the current core implementation,
- See #6035 for a proposed patch, it's not official either though, use at your own risk,
- Please report all problems with the Debian package to the Debian tracker, they will report problems upstream if needed, thanks.
#3 Updated by Rayservers GmbH over 9 years ago
No worries. There are no defects in Redmine or the Debian Redmine package per se... just reported the plugin breakage here since it seemed to be the thing to do. Perhaps the plugin author will notice and fix (or clearly indicate where we should report the bug). A link to this bug for those who may have the latest Redmine and think they want subtasks... may save them some trouble.
All the best and thanks again.