Content
Problem adding task in Sprint Taskboard
Added by Francisco Gallucci over 10 years ago
Greetings, I have installed OpenProject 3 in Debian Wheezy with Ruby 2 and the follow plugins:
gem "openproject-plugins", git: "https://github.com/opf/openproject-plugins.git", :branch => "stable" gem "openproject-help_link", :git => "https://github.com/finnlabs/openproject-help_link.git", :branch => "stable" gem "openproject-backlogs", :git => "https://github.com/finnlabs/openproject-backlogs.git", :branch => "stable" gem 'openproject-costs', :git => 'https://github.com/finnlabs/openproject-costs.git', :branch => "stable" gem 'openproject-global_roles', :git => 'https://github.com/finnlabs/openproject-global_roles.git', :branch => "stable" gem 'openproject-meeting', :git => 'https://github.com/finnlabs/openproject-meeting.git', :branch => "stable" gem 'openproject-my_project_page', :git => 'https://github.com/finnlabs/openproject-my_project_page.git', :branch => "stable" gem 'openproject-pdf_export', :git => 'https://github.com/finnlabs/openproject-pdf_export.git', :branch => "stable" gem 'openproject-documents', :git => 'https://github.com/opf/openproject-documents.git', :branch => "stable" gem 'openproject-translations', :git => 'https://github.com/opf/openproject-translations.git', :branch => "stable"
My problem is that when I create a Sprint and go to the Taskboard, everything works great, but when I’m going to add some task to the Story in the board, the dialog doesn’t shows completely, css error I guest, and don’t let me add task, I write the information required: Subject, Assigned To and Remaining Hours. But when I click in the OK Button, nothing happens, just shows me a little dialog with no information at all and don’t let me add anything, I check the output in the terminal and I don’t see any error, so, I have no idea what is going on.
I add 4 screenshots so you can see the problem.
Somebody have the same problem ?
Thanks :)
Replies (3)
Update:
Using Firefox and Firebug (god bless it), I see that there is an error in the line 601 of the backlogs JS file, in my project is the file openproject_dir/public/assets/backlogs/backlogs-2d4e6cba4393e52d0242621d2d4c432d.js. This file in the line 601 have:
Look the line where I write HERE, in that line is the error, when he trying to do this.$.parent(“td”).first().attr(“id”).split(“_”), occurs the error TypeError: this.$.parent(…).first(…).attr(…) is undefined
Debugging I see that this.$.parent(“td”) gets nothing, and obviously this.$.parent(“td”).first().attr(“id”) is undefined. And this.$.prev() is empty too.
Thats the error, I’ll keep seeing what is happening and try to resolve it.
See the screenshot below.
Anybody ?
I did not look into the Javascript on my browser, but I had the exact same symptom. It was because of my Workflows not being set up properly. Check your global settings Workflows. You should have a Work Package Type called “Tasks” or whatever you have named it. Make sure the various roles (I use Product owner and developer) have workflow access for that Type, check every box off for now. Make sure your role can change the status of the Task Work package to all statuses. Then make sure you Backlogs configuration has the Task Type set to whatever WorkProduct Type you use for Tasks.
Maybe this isn’t the problem you are seeing, but I had very similar symptoms before fixing my workflow like this.