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.
CP code or test assumes ordering where none is guaranteed (Bug #892)
The following functional test failed on CentOS 5 with pg 0.13.1. It passed with pg 0.9.0, 0.10.0 and 0.11.0 when I tried.
1) Failure: test_post_new(TrackersControllerTest) [test/functional/trackers_controller_test.rb:48]: <[1, 6]> expected but was <[6, 1]>.
I'm not sure what the Category is. Hopefully testing, but until it's confirmed it's not a bug in CP code I'll make a guess and pick one that sounds like where it could belong.
A quick fix, but I can't attach it:
diff --git a/test/functional/trackers_controller_test.rb b/test/functional/trackers_controller_test.rb index 0dfb3dd..a03a02c 100644 --- a/test/functional/trackers_controller_test.rb +++ b/test/functional/trackers_controller_test.rb @@ -45,7 +45,7 @@ class TrackersControllerTest < ActionController::TestCase assert_redirected_to :action => 'index' tracker = Tracker.find_by_name('New tracker') assert_equal , tracker.project_ids.sort - assert_equal [1, 6], tracker.custom_field_ids + assert_equal [1, 6], tracker.custom_field_ids.sort assert_equal 0, tracker.workflows.count end