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.
cvs test are not working (Bug #422)
The test for the CVS adapter in the current unstable are broken. The errors started to occur with the merge of
acts_as_journalized and are present in all configurations.
This seems to be the significant part of the stack:
wrong number of arguments (8 for 2) (ArgumentError) gems/activerecord-2.3.11/lib/active_record/associations/association_proxy.rb:215:in `slice' gems/activerecord-2.3.11/lib/active_record/associations/association_proxy.rb:215:in `send' gems/activerecord-2.3.11/lib/active_record/associations/association_proxy.rb:215:in `method_missing' gems/activerecord-2.3.11/lib/active_record/associations/association_collection.rb:394:in `method_missing' vendor/plugins/acts_as_journalized/lib/redmine/acts/journalized/changes.rb:91:in `incremental_journal_changes' vendor/plugins/acts_as_journalized/lib/redmine/acts/journalized/changes.rb:79:in `merge_journal_changes'
See http://ci.chiliproject.org/job/chiliproject_unstable/32/testReport/ for more error details.
Replace a call to changes with its code from AR::Dirty. #422
acts_as_journalized called changes as per ActiveRecord::Dirty
the journalized model Changeset :has_many changes though, which
made the call return a list of associated objects instead of the
intended list of changed attributes. Replaced changes with the code
from AR::Dirty to work around that.
Closing as the CVS tests pass on the CI too http://ci.chiliproject.org/job/chiliproject_unstable/40/testReport/.
The gist of the problem is: Changeset is a journalized model and :has_many changes, the problem is that this association creates a method
Changeset instances that overrides the method
changes provided by
acts_as_journalized relied on. I've changed the one occurrence of
acts_as_journalized by the exact definition of the method as per
ActiveRecord::Dirty to avoid the name clash.
- Status changed from Open to Closed