-
Notifications
You must be signed in to change notification settings - Fork 41
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 for Redmine 2.0.0? #75
Comments
I have a similar request, although 2.0.1 would be super awesome! I'm trying to get the latest Scrumbler build to work with a Redmine 2.0.1 but with no luck. As much as I'd like to contribute at this point I think it is better left to the professionals. GL and thanks for your hard work guys! |
+1 for this! Would be awesome to use scrumbler under Redmine 2.0.1. |
+1 for this! |
I didn't see this Issue created so I did a pull request into a new one. Here there is a fork of scrumbler runing into redmine 2.0.1 (latest) |
Hi pedrosnk i've tried the fork, but it won't work in my env. (tested current master and 3 months old realse) I can't create a issue in your fork so I'm not sure if I shall post the full trace output here in this issue. Please leave me a message where i shall post the info maybe it can help to fix the bug. |
Hello, I'm sorry, I believe that the reason for that is that is because there's no dispatcher dependency on redmine-2.X or on rails 3.2. And at the time I couldn't find a properly replacement for the dispatcher that is used at the last version of scrumbler. I believe that by commenting the line require 'dispatcher' on the file init.rb will do the work. But we still have to find a better way to substitute that. Because I couldn't find out a better way to replace the dispatcher api at the init.rb, the code will not run properly on development mode. But will work ok on production. I will take a look at that later today, but I believe that with my last commit, by commenting the line I mention it will work. https://github.com/ebc/Redmine-Scrumbler |
Hello, I believe that this won't work in production. When I try to run this with: rake db:migrate:plugin NAME=redmine_scrumbler RAILS_ENV=production I got: Thanks for your help! |
I've talked with volmer and he came out with a solution for the dispatcher compatibility. Apparently, on rails 3 it was removed and now is replaced by the command Rails.application.config.to_prepare do My last change is working fine now. For the plugin migration command, it changed on redmine-2.X now the new command to migrate plugins is
Just don't forget to run the migration of redmine first with
please, let me known if something went wrong. :) |
Awesome! It works :) |
Nice job! |
Just checked out https://github.com/ebc/Redmine-Scrumbler. After doing:
(restart server) When I try to activate the plugin in any projects, I get an Internal Error. The log says: Processing by ProjectsController#modules as HTML NameError (uninitialized constant Project::ScrumblerProjectSetting): |
Hello Sprocketjoo , I've just tested the plugin with redmine-2.0.3 and it was working fine at my environment, could you provide some more information about your environment? Like the version of redmine you are using, and the kind of database (sqlite, mysql, postgres). The only things that I could see that is different is the name of the plugin, that must be separated by underscore and in lowercase (execute the line bellow at the redmine_instalation/plugins )
and the order of the migrations and the name of the plugin.
and then execute
please, check if the migrations of the scrumbler will appear. Pease, try to execute these steps above and if the error persists let me known. |
It's working now! Yes, it was something related to the name of the plugin. It was named "Redmine_Scrumbler" in the previous installation (ebc repository). Thanks so much!! I am currently using the plugin for the first time, and it is absolutely promising. However, I have a minor problem: In the dashboard, the issues are correctly updated but the hyperlink to the issue is wrong: Actual issue link in my production environment: Dashboard issue link (broken): The same lack of "redmine" directory in urls happen in Tracker links in Dashboard, and some images in Backlog: http://10.128.39.16/images/2downarrow.png Instead of: http://10.128.39.16/redmine/images/2downarrow.png Thanks in advance! |
For the record, I have configured Apache to access Redmine this way: VirtualHost *:80
VirtualHost |
Hi, I can't get it working, when I go to http://domain.com/redmine/projects/project/scrumbler_backlogs and try to add new issue, I get the following error from firebug: "NetworkError: 404 Not Found - http://domain.com/projects/project/scrumbler_backlogs/create_issue" Seems plugin doesn't get my base url http://domain.com/redmine/ |
Hi, As a workaround, I changed variable Scrumbler.root_url from "" to "\redmine" in plugins/redmine_scrumbler/app/helpers/scrumbler_helper.rb. Now I found another minor Issue, the buttons to move issues in Backlog column don't work (sprint column is fine). Log: Started POST "/redmine/projects/neuron/scrumbler_backlogs/move_issue_priority" for 10.128.72.76 at Wed Jun 27 11:08:11 +0200 2012 ArgumentError (Unknown key: where): |
No real solution yet? |
I also encountered all above issues with Redmine 2.0.2. It seems that this Scrumler plugin is not completely migrated for Redmine 2.x yet Any good idea here? Thanks, |
I've gotten Scrumbler working on a Bitnami Redmine 2.0.3 virtual machine running Ubuntu 12.04. Here's what I did to get it working, hope this helps. For the URL issue, as mentioned above, modify plugins/redmine_scrumbler/app/helpers/scrumbler_helper.rb: Scrumbler.root_url from "/" to "/redmine/" For the item moving button images, in plugins/redmine_scrumbler/assets/javascripts/scrumbler-backlog.js on line 265: change src: '/images/'+config.image to src: Scrumbler.root_url + '/images/'+config.image And for the error with changing the item priority in the backlog with the buttons, in redmine_scrumbler/lib/infectors/issue.rb: scope :without_version, :where => {:fixed_version_id => nil} to scope :without_version, where(:fixed_version_id => nil) |
Thank mellowgeek for your reponse. Could you help me to check the last one again (scope :without_version, where(:fixed_version_id => nil)). It seems that there is a mistake here. Thanks, |
It works for me, do you have any details on what error you're getting? Edit: I just noticed that there's still a bug in the backlog. If you don't have a sprint created, when you use the move buttons, the tasks disappear from the page. |
@mellowgeek : I've the same issue as @Tiennd and there're not any errors in redmine/log/production.log. My tasks also disappear from the page and have to refresh that page to show them again. What informations should I post to help everyone debug these issues? thanks. |
So scrumbler now depends on Rails version 3.*? Then maybe someone should update the requirements. I'm running Redmine 1.3.0 on Rails 2.3.14 and can't get scrumbler to install because of the removed Dispatcher dependency. Or did I miss something? |
Hi,
Are there any plans on the horizon to support redmine version 2.0.0?
Thanks!
The text was updated successfully, but these errors were encountered: