software-project / scrum-pm

Scrum PM is a plugin for Redmine ticket management system. It adds Scrum items like backlog, dashboard and others.
www.software-project.eu/EN/scrumpm
126 stars 47 forks source link

undefined method #2

Closed Roomer closed 14 years ago

Roomer commented 14 years ago

First: the plugin looks pretty nice, as far as i have seen it

Now the Problem: When i started redmine the first time after plugin installation, i was able to click on "label_dashboard" and a nice page showed up.

Then i created a sprint and a story. The story never showed up. Now i get errors when i try to access the label_dashboard or label_backlog.

They all are similar to this one:

Processing SprintsController#index (for 192.168.1.90 at 2010-02-02 20:27:37) [GET]

Session ID: 259f13772b618ddc4dce63e552bfcb64

Parameters: {"project_id"=>"aaaa", "action"=>"index", "controller"=>"sprints"}

Rendering template within layouts/base

Rendering sprints/index

ActionView::TemplateError (undefined method `created_on' for #UserStory:0xb627160c) on line #5 of sprints/index.html.erb:

2:

3:

4:

5:

<%= image_tag(@chart.to_s) unless @chart.blank? %>

6: <%= render(:partial => "shared/project_stats", :locals => {:project => @project}) %>

7: <%= render(:partial => "sprints/product_backlog") %>

8: <%#= render(:partial => "milestones/milestones") %>

The other errors have different undefined methods.

PS: think this might become a really cool plugin; since i cannot help you programming, i could translate a manual / buttons / links for you. my german is pretty good, but if i only would now some of your language ... ;o)

Roomer commented 14 years ago

I forgot: i am still running redmine 0.8.7 stable rake (0.8.7) ruby 1.8.7 i use phusion passenger too

need to turn off the computer now and eat something bye

software-project commented 14 years ago

I have posted some updates. Bug was probably related with unfinished (at that time) diagram generation. Now diagrams are up and runnig. Current version is tested on Redmine 0.9 stable. It may not function properly on 0.8.7 due to some differences in Redmine core for adding new issues. But please check it out and let me know.

software-project commented 14 years ago

If you like to help me with german translation, i18n file is located in lang/en.yml. You can fork my project via your git hub account, add new file for german (de.yml) and request merge. I will be grateful for help. Take care.

Roomer commented 14 years ago

you were right. i dist-upgraded my debian box to get redmine 0.9.1 stable running. and i git-cloned your plugin and it worked just great. i did not continue tests with 0.8.7. i try to start learning how to work with git (branching etc) and will maybe next week start to try to translate your plugin.

i will let you now if i run in trouble....