I'm sorry for this. But i check in my redmine -v=1.2.1 1.1.3, there's no errors happen.
It might be the versions, but finaly ascribe the code is not preciseness enough.
But according toanalyzes i thinks they happened in /vendor/plugins/redmine_process_frameworks/config/routes.rb
that should config the more routes in this file:
for example:
map.with_options :controller => 'init_select' do |project|
project.with_options :conditions => {:method => :post} do |project|
project.connect 'projects/importmodel', :action =>'import_process_framework'
end
======>but i haven't test it in 1.4.2, and forgive me that i could not do this job before tomorrow night.
But of course, no problem, and thank you very much for your support!
On May 16, 2012 3:27 PM, "Geron" <
reply@reply.github.com>
wrote:
I'm sorry for this. But i check in my redmine -v=1.2.1 1.1.3, there's no
errors happen.
It might be the versions, but finaly ascribe the code is not preciseness
enough.
But according toanalyzes i thinks they happened in
/vendor/plugins/redmine_process_frameworks/config/routes.rb
that should config the more routes in this file:
for example:
map.with_options :controller => 'init_select' do |project|
project.with_options :conditions => {:method => :post} do |project|
project.connect 'projects/importmodel', :action
=>'import_process_framework'
end
======>but i haven't test it in 1.4.2, and forgive me that i could not do
this job before tomorrow night.
Reply to this email directly or view it on GitHub:
~/workspace/Ruby/redmine_1.4.2$ rake redmine:plugins:migrate
An error occurred while loading the routes definition of redmine_process_frameworks plugin (/home/geron/workspace/Ruby/redmine_1.4.2/plugins/redmine_process_frameworks/config/routes.rb): uninitialized constant ActionDispatch::Routing::Routes.
~/workspace/Ruby/redmine_1.4.2$ rake db:migrate_plugins
An error occurred while loading the routes definition of redmine_process_frameworks plugin (/home/geron/workspace/Ruby/redmine_1.4.2/plugins/redmine_process_frameworks/config/routes.rb): You are using the old router DSL which has been removed in Rails 3.1. Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/.
geron@Inspiron:~/workspace/Ruby/redmine_1.4.2$ rails -v
Rails 3.2.3
*\ and this plugin for redmine has been defined to fit 1.1.x, 1.2.x, 1.3.x , and i think it hard to suit 1.4.x.
Greetings!
I think that in the last version its missing the file
libs/taks/import_templates.rake
I've successfully loaded the inital commit imported the plugin ( rake db:migrate_plugins RAILS_ENV=production ) and got this:
root@angelos:/opt/redmine# rake ProcessFramework:import_templates RAILS_ENV=production Please install RDoc 2.4.2+ to generate documentation. import model:
需求工程推荐模板
succeed! import file: /opt/redmine/vendor/plugins/redmine_process_frameworks/lib/tasks/../templates/SREP.xml succeed! imort /opt/redmine/vendor/plugins/redmine_process_frameworks/lib/tasks/../templates/SREP.xmlis done! import model:需求工程推荐模板
succeed! import file: /opt/redmine/vendor/plugins/redmine_process_frameworks/lib/tasks/../templates/需求工程.xml succeed! imort /opt/redmine/vendor/plugins/redmine_process_frameworks/lib/tasks/../templates/需求工程.xmlis done! import is done!Which I believe loaded everything needed, however when opening the "Process Framework" tab i get an error:
ActionView::TemplateError (No route matches {:controller=>"init_select", :project_id=>#<Project id: 36, name: "Test", description: "", homepage: "", is_public: false, parent_id: nil, created_on: "2012-05-16 10:24:35", updated_on: "2012-05-16 10:24:35", identifier: "test", status: 1, lft: 65, rgt: 66, if_config_pf: false, model_id: nil>, :action=>"import_process_framework"}) on line #3 of vendor/plugins/redmine_process_frameworks/app/views/init_select/select_models.html.erb: 1: <%= stylesheet_link_tag "/plugin_assets/redmine_process_frameworks/stylesheets/model_attribute.css" %> 2:
Rendering /opt/redmine/public/500.html (500 Internal Server Error)
Any ideas?
This is on Redmine 1.4.2 over Debian 6.
One update, when going through administration, process framework, I get this:
ActionView::TemplateError (No route matches {:"process_model[move_to]"=>"highest", :id=>#<ProcessModel id: 1, name: "需求工程11", description: "
需求工程推荐模板
\n", date: "2012-05-16 10:21:17", author_id: 4, position: 1>, :action=>"sort_model"}) on line #33 of vendor/plugins/redmine_process_frameworks/app/views/admin_process_models/_index.rhtml: 30: <%= link_to l(:version_status_open), {:action => 'open_close_model',:elem => list}, :class => 'icon icon-unlock'%> 31: <%else %> 32:Rendering /opt/redmine/public/500.html (500 Internal Server Error)
ok, thank you, I will check it soon and reply.
2012/5/16 jpoa < reply@reply.github.com
I'm sorry for this. But i check in my redmine -v=1.2.1 1.1.3, there's no errors happen. It might be the versions, but finaly ascribe the code is not preciseness enough. But according toanalyzes i thinks they happened in /vendor/plugins/redmine_process_frameworks/config/routes.rb
that should config the more routes in this file:
for example:
======>but i haven't test it in 1.4.2, and forgive me that i could not do this job before tomorrow night.
But of course, no problem, and thank you very much for your support! On May 16, 2012 3:27 PM, "Geron" < reply@reply.github.com> wrote:
these days i install ruby 1.9.2 rails 3.2.3 and gem list for redmine1.4.2:
but i find two problems becase of the versions (and i don't know how do you resovle them);
*\ and this plugin for redmine has been defined to fit 1.1.x, 1.2.x, 1.3.x , and i think it hard to suit 1.4.x.
Ok, thank you very much for your help nonetheless!
Now it support 1.4.x, 2.0.x.
Best regards.
Weibo: @k-never-ever http://weibo.com/kfalling Blog: http://geron.heroku.com Geron: c.ever.fallen@gmail.com c.ever.fallen@gmail.com
Revamped: https://github.com/devaroop/redmine_process_frameworks