Actions
Bug #13335
closedTests fail on Rails 4.1.14
Description
Errors:
1) Error: TasksTest::filtering by current user#test_0001_can search the tasks by current_user: ActiveRecord::StatementInvalid: PG::Error: ERROR: operator does not exist: integer = character varying LINE 1: ...oreman_tasks_tasks" ON "foreman_tasks_tasks"."id" = "foreman... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. : SELECT COUNT(*) FROM "foreman_tasks_locks" INNER JOIN "foreman_tasks_tasks" ON "foreman_tasks_tasks"."id" = "foreman_tasks_locks"."task_id" WHERE (foreman_tasks_tasks.state != 'stopped') AND ("foreman_tasks_lo cks"."task_id" NOT IN (0)) AND "foreman_tasks_locks"."name" = 'task_owner' AND "foreman_tasks_locks"."resource_id" = 980190963 AND "foreman_tasks_locks"."resource_type" = 'User' AND "foreman_tasks_locks"."exclus ive" = 't' /home/vagrant/foreman-tasks/app/models/foreman_tasks/lock.rb:55:in `available?' /home/vagrant/foreman-tasks/app/models/foreman_tasks/lock.rb:48:in `block in <class:Lock>' test_after_commit (0.4.2) lib/test_after_commit.rb:27:in `block in transaction_with_transactional_fixtures' test_after_commit (0.4.2) lib/test_after_commit.rb:21:in `transaction_with_transactional_fixtures' /home/vagrant/foreman-tasks/app/models/foreman_tasks/lock.rb:131:in `owner!' /home/vagrant/foreman-tasks/test/factories/task_factory.rb:13:in `block (3 levels) in <top (required)>' /home/vagrant/foreman-tasks/test/unit/task_test.rb:12:in `block (2 levels) in <class:TasksTest>'
Updated by Eric Helms over 8 years ago
- Blocks Feature #12873: Update Rails to 4.1.latest added
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/168 added
Updated by Eric Helms over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a65f0b7678c22ac0a9cd3593ad3cbb26a54e97c4.
Updated by Dominic Cleal over 8 years ago
- Translation missing: en.field_release deleted (
71)
Actions