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.

Journalized touch on journal update causes StaleObjectErrors (Bug #543)

Added by Felix Schäfer at 2011-07-29 09:34 am. Updated at 2011-07-29 01:14 pm.

Status:Closed Start date:2011-07-29
Priority:Normal Due date:
Assignee:Felix Schäfer % Done:


Category:Journals / History
Target version:2.1.0
Remote issue URL: Affected version:master


(see #441-4 for initial discussion about this)

Journals belongs_to :journalized, :touch => true, which touches journalized objects/updates their updated_to on every journal update. This causes numerous StaleObjectErrors and is I believe not the desired behavior, which should be to touch the journalized object on create, and not on every update.

Associated revisions

Revision 53165359
Added by Felix Schäfer at 2011-07-29 03:12 pm

Touch journaled objects on journal creation only. #543


Updated by Felix Schäfer at 2011-07-29 01:14 pm

Changed Journal to touch journaled objects on creation only in 531653596d342489e80ef6a7a38edaadb1ec2dbf

  • Status changed from Open to Closed

Also available in: Atom PDF