ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
/issues/changes?format=atom is returning 500 Internal Error (Bug #267)
The RSS feed for /issues/changes?format=atom stopped working a couple weeks ago now. It used to work, but after some changes on the site it started to return a 500 internal Error.
The interesting part of the log:
ActionView::TemplateError (undefined method `format_value' for #<ActionView::Base:0xd5be200>) on line #23 of app/views/journals/index.rxml: 20: xml.content "type" => "html" do 21: xml.text! '<ul>' 22: change.details.each do |detail| 23: xml.text! '<li>' + show_detail(detail, false) + '</li>' 24: end 25: xml.text! '</ul>' 26: xml.text! textilizable(change, :notes, :only_path => false) unless change.notes.blank?
I guess some helper is missing, I'll have a look real quick.
- Target version set to 1.2.0
- Assignee set to Felix Schäfer
Felix SchÃ¤fer wrote:
I guess some helper is missing.
Bingo, the journals controller is missing the
helper :custom_fields. I've committed the change in c8e584e894955779924a3328b844e3a44923e44f.
- Assignee deleted (
- Status changed from Open to Ready for review
I discussed this with Yuki yesterday. The bug occurs because the
journals_controller doesn't include the
CustomFieldHelper, which is required because of source:app/helpers/issues_helper.rb#L143. The solution would be to either include the helper in the journls controller, or to include the helper into the issues helper. I would prefer the latter.
In the future, this isn't even necessary, as the journals controller is killed by #123.