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.

Missing JournalFormatter causes Issue atom feed to blow up (Bug #520)


Added by Ryan Briones at 2011-07-13 08:04 pm. Updated at 2011-07-22 04:32 pm.


Status:Closed Start date:2011-07-13
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Journals / History
Target version:-
Remote issue URL: Affected version:2.0.0

Description

Had a weird issue where an atom feed for a specific Issue was blowing it. I believe I've tracked it down to #format_attribute_detail returning nil because author_id does not have a corresponding register_on_journal_formatter entry. By adding author_id to the :named_association entry, I was able to fix my issue, but I'm not clear on all the AAJ changes, so I'll leave it to a pro to decide if this is the proper patch. Looks like the view journal/index.rxml has been updated in stable to potentially deal with the fact that Journal#render_detail may return nil.

Cheers


History

Updated by Ryan Briones at 2011-07-13 10:02 pm

Hmm... just realized this may not be a bug. Author cannot be changed with a vanilla ChiliProject...

Updated by Eric Davis at 2011-07-22 03:22 pm

Are you running a custom patch to change the issue author? If so then this wouldn't be a bug until we apply that patch (or allow author changes).

  • Category set to Journals / History
  • Status changed from Open to Needs more information

Updated by Ryan Briones at 2011-07-22 04:32 pm

Yes, that's what I was implying in the update. Probably no need to fix this unless you allow author updates that cause journals to be created.

  • Status changed from Needs more information to Closed

Also available in: Atom PDF