The build failed.

CHANGES
-------
Revision 8270 committed by david on 2007-12-05 02:30:30
Fix that options[:from] table names should never be quoted [DHH]
  M /trunk/activerecord/lib/active_record/associations.rb
  M /trunk/activerecord/test/associations/eager_test.rb

Revision 8271 committed by david on 2007-12-05 02:34:36
Fix broken test (closes #10364) [chuyeow]
  M /trunk/actionpack/test/controller/html-scanner/sanitizer_test.rb

Revision 8272 committed by bitsweat on 2007-12-05 02:46:28
MySQL: we can't distinguish a fake 0 default in 4.x

  M /trunk/activerecord/test/defaults_test.rb



TEST FAILURES AND ERRORS
-----------------------
Name: 
test_with_two_tables_in_from_without_getting_double_quoted(EagerAssociationTest)
Type: Error
Message: ActiveRecord::StatementInvalid: Mysql::Error: #42S22Unknown column 
'posts.id' in 'on clause': SELECT `posts`.`id` AS t0_r0, `posts`.`author_id` AS 
t0_r1, `posts`.`title` AS t0_r2, `posts`.`body` AS t0_r3, `posts`.`type` AS 
t0_r4, `posts`.`taggings_count` AS t0_r5, `comments`.`id` AS t1_r0, 
`comments`.`post_id` AS t1_r1, `comments`.`body` AS t1_r2, `comments`.`type` AS 
t1_r3 FROM posts, authors  LEFT OUTER JOIN `comments` ON comments.post_id = 
posts.id   WHERE (posts.author_id = authors.id) 

    ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:150:in 
`log'
    ./test/../lib/active_record/connection_adapters/mysql_adapter.rb:281:in 
`execute_without_counting'
    ./test/abstract_unit.rb:71:in `execute'
    ./test/../lib/active_record/connection_adapters/mysql_adapter.rb:481:in 
`select'
    
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:7:in
 `select_all_without_query_cache'
    
./test/../lib/active_record/connection_adapters/abstract/query_cache.rb:55:in 
`select_all'
    ./test/../lib/active_record/associations.rb:1242:in `select_all_rows'
    ./test/../lib/active_record/associations.rb:1124:in `find_with_associations'
    ./test/../lib/active_record/associations.rb:1122:in `catch'
    ./test/../lib/active_record/associations.rb:1122:in `find_with_associations'
    ./test/../lib/active_record/base.rb:1034:in `find_every'
    ./test/../lib/active_record/base.rb:438:in `find'
    ./test/associations/eager_test.rb:41:in 
`test_with_two_tables_in_from_without_getting_double_quoted'
    
/usr/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in 
`__send__'
    
/usr/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in 
`run'


Name: 
test_with_two_tables_in_from_without_getting_double_quoted(EagerAssociationTest)
Type: Error
Message: ActiveRecord::StatementInvalid: PGError: ERROR:  invalid reference to 
FROM-clause entry for table "posts"

HINT:  There is an entry for table "posts", but it cannot be referenced from 
this part of the query.
: SELECT posts."id" AS t0_r0, posts."author_id" AS t0_r1, posts."title" AS 
t0_r2, posts."type" AS t0_r3, posts."body" AS t0_r4, posts."taggings_count" AS 
t0_r5, comments."id" AS t1_r0, comments."post_id" AS t1_r1, comments."type" AS 
t1_r2, comments."body" AS t1_r3 FROM posts, authors  LEFT OUTER JOIN comments 
ON comments.post_id = posts.id   WHERE (posts.author_id = authors.id) 
    ./test/../lib/active_record/connection_adapters/abstract_adapter.rb:150:in 
`log'
    
./test/../lib/active_record/connection_adapters/postgresql_adapter.rb:407:in 
`execute_without_counting'
    ./test/abstract_unit.rb:71:in `execute'
    
./test/../lib/active_record/connection_adapters/postgresql_adapter.rb:782:in 
`select_raw'
    
./test/../lib/active_record/connection_adapters/postgresql_adapter.rb:769:in 
`select'
    
./test/../lib/active_record/connection_adapters/abstract/database_statements.rb:7:in
 `select_all_without_query_cache'
    
./test/../lib/active_record/connection_adapters/abstract/query_cache.rb:55:in 
`select_all'
    ./test/../lib/active_record/associations.rb:1242:in `select_all_rows'
    ./test/../lib/active_record/associations.rb:1124:in `find_with_associations'
    ./test/../lib/active_record/associations.rb:1122:in `catch'
    ./test/../lib/active_record/associations.rb:1122:in `find_with_associations'
    ./test/../lib/active_record/base.rb:1034:in `find_every'
    ./test/../lib/active_record/base.rb:438:in `find'
    ./test/associations/eager_test.rb:41:in 
`test_with_two_tables_in_from_without_getting_double_quoted'
    
/usr/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in 
`__send__'
    
/usr/lib/ruby/gems/1.8/gems/mocha-0.5.5/lib/mocha/test_case_adapter.rb:19:in 
`run'




See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/8272 for details.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to