Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support redmine 3.4? #26

Open
archonwang opened this issue Jun 28, 2017 · 2 comments
Open

support redmine 3.4? #26

archonwang opened this issue Jun 28, 2017 · 2 comments

Comments

@archonwang
Copy link

archonwang commented Jun 28, 2017

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
Copy link

mikini commented Jul 6, 2017

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 added a commit to lammel/redmine_issue_checklist that referenced this issue Mar 7, 2018
Fix warning: init.rb:24: warning: key :issue_checklist is duplicated and overwritten on line 24
Only a slight syntactic change, should not have any impact. Tested with Redmine 3.4 only
@lammel
Copy link

lammel commented Oct 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants