Michael Schoen
2006-Jun-03 21:47 UTC
Rails AR/Oracle Unit Test: [4419] failed (getting worse)
"david" has kicked AR/Oracle while it was down...
http://dev.rubyonrails.org/changeset/4419
------------------------------------------------------------------------
r4419 | david | 2006-06-03 14:41:40 -0700 (Sat, 03 Jun 2006) | 1 line
Fixed migration trouble with SQLite when NOT NULL is used in the new definition
(closes #5215) [greg@lapcominc.com]
------------------------------------------------------------------------
U activerecord/test/migration_test.rb
U activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
U activerecord/CHANGELOG
Updated to revision 4419.
1) Failure:
test_to_xml(BasicsTest) [./test/base_test.rb:1231]:
<false> is not true.
2) Error:
test_add_column_not_null_with_default(MigrationTest):
ActiveRecord::StatementInvalid: OCIError: ORA-01400: cannot insert NULL into
("ARUNIT"."TESTINGS"."ID"): insert into testings
(foo) values (''hello'')
./test/../lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log''
./test/../lib/active_record/connection_adapters/oracle_adapter.rb:277:in
`execute''
./test/migration_test.rb:176:in
`test_add_column_not_null_with_default''
892 tests, 3136 assertions, 1 failures, 1 errors
rake aborted!
Command failed with status (1): [/usr/pkg/ruby184/bin/ruby -Ilib:test:test/...]
(See full trace by running task with --trace)