Restream / redmine_issue_checklist

Checklist Plugin creates simple checklists for Redmine issues. Downloaded from http://www.redminecrm.com/projects/checklist/
66 stars 52 forks source link

support redmine 3.4? #26

Open archonwang opened 7 years ago

archonwang commented 7 years ago

rake db with error, please check it.

[root@jira redmine-3.4]# bundle exec rake redmine:plugins:migrate  RAILS_ENV=production
rspec failed.
yard not installed (gem install yard)
/opt/redmine-3.4/plugins/redmine_issue_checklist/init.rb:24: warning: duplicated key at line 24 ignored: :issue_checklist
rake aborted!
LoadError: cannot load such file -- redcloth3
mikini commented 7 years ago

I'm also getting the duplicate key warning on issue_checklist using Redmine 3.2.1 from the prepackaged redmine on Ubuntu 16.04. Things seems to work correctly though.

:/usr/share/redmine$ sudo REDMINE_INSTANCE=default RAILS_ENV=production bundle exec rake db:migrate
/usr/share/redmine/plugins/redmine_issue_checklist/init.rb:24: warning: key :issue_checklist is duplicated and overwritten on line 24

I guess your real problem must be the missing redcloth3, which is the Textile parser (https://github.com/jgarber/redcloth).

It seems to be bundled with Redmine, on my system it is in

:/usr/share/redmine$ find . -name "redcloth3*"
./lib/redcloth3.rb

And required from:

:/usr/share/redmine$ grep -r redcloth3
lib/redmine/wiki_formatting/textile/formatter.rb:require 'redcloth3'

On 3.4.0 it seems to have been relocated to lib/redmine/wiki_formatting/textile/redcloth3.rb, maybe you have a reference to the old location hanging around somewhere?

lammel commented 5 years ago

We used this plugin with Redmine 3.4 for quite some. So I guess this issue can be closed with Redmine 4.0 being stable for quite some time now.